]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-29147.stderr
Rollup merge of #90266 - b-naber:uneval_substs, r=lcnr
[rust.git] / src / test / ui / issues / issue-29147.stderr
1 error[E0283]: type annotations needed
2   --> $DIR/issue-29147.rs:21:13
3    |
4 LL |     let _ = <S5<_>>::xxx;
5    |             ^^^^^^^^^^^^ cannot infer type for struct `S5<_>`
6    |
7 note: multiple `impl`s satisfying `S5<_>: Foo` found
8   --> $DIR/issue-29147.rs:17:1
9    |
10 LL | impl Foo for S5<u32> { fn xxx(&self) {} }
11    | ^^^^^^^^^^^^^^^^^^^^
12 LL | impl Foo for S5<u64> { fn xxx(&self) {} }
13    | ^^^^^^^^^^^^^^^^^^^^
14 note: required by `Foo::xxx`
15   --> $DIR/issue-29147.rs:10:13
16    |
17 LL | trait Foo { fn xxx(&self); }
18    |             ^^^^^^^^^^^^^^
19
20 error: aborting due to previous error
21
22 For more information about this error, try `rustc --explain E0283`.