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
521 B
Plaintext
Raw Normal View History

2019-10-30 00:28:39 +00:00
error[E0283]: type annotations needed
2022-07-25 20:36:03 +00:00
--> $DIR/issue-29147.rs:22:13
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | let _ = <S5<_>>::xxx;
2019-12-12 01:06:24 +00:00
| ^^^^^^^^^^^^ cannot infer type for struct `S5<_>`
2019-10-30 00:28:39 +00:00
|
note: multiple `impl`s satisfying `S5<_>: Foo` found
2022-07-25 20:36:03 +00: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 21:11:54 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0283`.