os-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
517 B
Text
Raw Normal View History

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