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

18 lines
586 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 10:46:22 -07:00
help: consider using the `'a` lifetime
|
LL | ) -> &'a dyn Foo
2022-06-05 18:33:09 +02:00
| ++
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0106`.