rust/tests/ui/issues/issue-29147.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
515 B
Plaintext
Raw Normal View History

2019-10-29 19:28:39 -05:00
error[E0283]: type annotations needed
2023-08-26 14:25:46 -05:00
--> $DIR/issue-29147.rs:22:14
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = <S5<_>>::xxx;
2023-08-26 14:25:46 -05:00
| ^^^^^ cannot infer type for struct `S5<_>`
2019-10-29 19:28:39 -05:00
|
note: multiple `impl`s satisfying `S5<_>: Foo` found
2022-07-25 15:36:03 -05:00
--> $DIR/issue-29147.rs:18:1
|
LL | impl Foo for S5<u32> { fn xxx(&self) {} }
| ^^^^^^^^^^^^^^^^^^^^
LL | impl Foo for S5<u64> { fn xxx(&self) {} }
| ^^^^^^^^^^^^^^^^^^^^
2018-07-15 16:11:54 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0283`.