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