rust/tests/ui/async-await/issues/issue-63388-1.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
475 B
Plaintext
Raw Normal View History

error[E0621]: explicit lifetime required in the type of `foo`
2022-04-01 12:13:25 -05:00
--> $DIR/issue-63388-1.rs:13:5
2019-08-13 08:13:50 -05:00
|
LL | &'a self, foo: &dyn Foo
| -------- help: add explicit lifetime `'a` to the type of `foo`: `&'a (dyn Foo + 'a)`
2019-08-13 08:13:50 -05:00
LL | ) -> &dyn Foo
LL | / {
2022-05-21 14:46:25 -05:00
LL | |
2019-08-13 08:13:50 -05:00
LL | | foo
LL | | }
| |_____^ lifetime `'a` required
2019-08-13 08:13:50 -05:00
2020-01-11 11:18:58 -06:00
error: aborting due to previous error
2019-08-13 08:13:50 -05:00
For more information about this error, try `rustc --explain E0621`.