rust/src/test/ui/lifetimes/issue-34979.stderr

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

13 lines
354 B
Plaintext
Raw Normal View History

error[E0283]: type annotations needed: cannot satisfy `&'a (): Foo`
2020-05-06 12:13:51 -05:00
--> $DIR/issue-34979.rs:6:13
|
LL | &'a (): Foo,
| ^^^
2020-05-06 12:13:51 -05:00
|
= note: cannot satisfy `&'a (): Foo`
= help: the trait `Foo` is implemented for `&'a T`
2020-05-06 12:13:51 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0283`.