]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/conflicting-bounds.stderr
Auto merge of #104334 - compiler-errors:ufcs-sugg-wrong-def-id, r=estebank
[rust.git] / src / test / ui / lifetimes / conflicting-bounds.stderr
1 error[E0283]: type annotations needed: cannot satisfy `Self: Gen<'source>`
2    |
3 note: multiple `impl`s or `where` clauses satisfying `Self: Gen<'source>` found
4   --> $DIR/conflicting-bounds.rs:3:1
5    |
6 LL | pub trait Gen<'source> {
7    | ^^^^^^^^^^^^^^^^^^^^^^
8 ...
9 LL |         Self: for<'s> Gen<'s, Output = T>;
10    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0283`.