rust/src/test/ui/async-await/issues/issue-63388-2.stderr

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

18 lines
584 B
Plaintext
Raw Normal View History

error[E0106]: missing lifetime specifier
--> $DIR/issue-63388-2.rs:12:10
|
LL | foo: &dyn Foo, bar: &'a dyn Foo
| -------- -----------
LL | ) -> &dyn Foo
| ^ expected named lifetime parameter
|
= help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `foo` or `bar`
2020-04-17 12:46:22 -05:00
help: consider using the `'a` lifetime
|
LL | ) -> &'a dyn Foo
| ~~~
2020-02-06 03:33:05 -06:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0106`.