]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/issue-34979.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / lifetimes / issue-34979.stderr
1 error[E0283]: type annotations needed
2   --> $DIR/issue-34979.rs:6:13
3    |
4 LL | trait Foo {}
5    | --------- required by this bound in `Foo`
6 ...
7 LL |     &'a (): Foo,
8    |             ^^^ cannot infer type for reference `&'a ()`
9    |
10    = note: cannot satisfy `&'a (): Foo`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0283`.