mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
517 B
Text
17 lines
517 B
Text
error[E0283]: type annotations needed
|
|
--> $DIR/issue-29147.rs:22:14
|
|
|
|
|
LL | let _ = <S5<_>>::xxx;
|
|
| ^^^^^ cannot infer type for struct `S5<_>`
|
|
|
|
|
note: multiple `impl`s satisfying `S5<_>: Foo` found
|
|
--> $DIR/issue-29147.rs:18:1
|
|
|
|
|
LL | impl Foo for S5<u32> { fn xxx(&self) {} }
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
LL | impl Foo for S5<u64> { fn xxx(&self) {} }
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|