]> git.proxmox.com Git - rustc.git/blame - src/test/ui/variance/variance-trait-matching.base.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / variance / variance-trait-matching.base.stderr
CommitLineData
b7449926 1error[E0621]: explicit lifetime required in the type of `get`
04454e1e 2 --> $DIR/variance-trait-matching.rs:28:5
b7449926
XL
3 |
4LL | fn get<'a, G>(get: &G) -> i32
5 | -- help: add explicit lifetime `'a` to the type of `get`: `&'a G`
6...
532ac7d7 7LL | pick(get, &22)
b7449926
XL
8 | ^^^^ lifetime `'a` required
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0621`.