fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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