]> git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/issues/issue-63388-1.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / async-await / issues / issue-63388-1.stderr
CommitLineData
923072b8
FG
1error[E0621]: explicit lifetime required in the type of `foo`
2 --> $DIR/issue-63388-1.rs:13:5
e1599b0c 3 |
923072b8
FG
4LL | &'a self, foo: &dyn Foo
5 | -------- help: add explicit lifetime `'a` to the type of `foo`: `&'a (dyn Foo + 'a)`
6LL | ) -> &dyn Foo
7LL | / {
8LL | |
9LL | | foo
10LL | | }
11 | |_____^ lifetime `'a` required
e1599b0c
XL
12
13error: aborting due to previous error
14
923072b8 15For more information about this error, try `rustc --explain E0621`.