2022-06-25 12:42:23 -05:00
|
|
|
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,
|
2022-06-25 12:42:23 -05:00
|
|
|
| ^^^
|
2020-05-06 12:13:51 -05:00
|
|
|
|
|
2022-11-15 17:11:11 -06:00
|
|
|
note: multiple `impl`s or `where` clauses satisfying `&'a (): Foo` found
|
|
|
|
--> $DIR/issue-34979.rs:2:1
|
|
|
|
|
|
|
|
|
LL | impl<'a, T> Foo for &'a T {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | &'a (): Foo,
|
|
|
|
| ^^^
|
|
|
|
LL | &'static (): Foo;
|
|
|
|
| ^^^
|
2020-05-06 12:13:51 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|