]>
Commit | Line | Data |
---|---|---|
60c5eb7d | 1 | error[E0283]: type annotations needed |
064997fb | 2 | --> $DIR/issue-29147.rs:22:13 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | let _ = <S5<_>>::xxx; |
60c5eb7d XL |
5 | | ^^^^^^^^^^^^ cannot infer type for struct `S5<_>` |
6 | | | |
3c0e092e | 7 | note: multiple `impl`s satisfying `S5<_>: Foo` found |
064997fb | 8 | --> $DIR/issue-29147.rs:18:1 |
136023e0 | 9 | | |
3c0e092e XL |
10 | LL | impl Foo for S5<u32> { fn xxx(&self) {} } |
11 | | ^^^^^^^^^^^^^^^^^^^^ | |
12 | LL | impl Foo for S5<u64> { fn xxx(&self) {} } | |
13 | | ^^^^^^^^^^^^^^^^^^^^ | |
8faf50e0 XL |
14 | |
15 | error: aborting due to previous error | |
16 | ||
17 | For more information about this error, try `rustc --explain E0283`. |