rust/src/test/ui/issues/issue-29147.stderr

15 lines
418 B
Plaintext
Raw Normal View History

2019-10-29 19:28:39 -05:00
error[E0283]: type annotations needed
2018-12-25 09:56:47 -06:00
--> $DIR/issue-29147.rs:21:13
2018-07-15 16:11:54 -05:00
|
LL | trait Foo { fn xxx(&self); }
| -------------- required by `Foo::xxx`
...
2019-03-09 06:03:44 -06:00
LL | let _ = <S5<_>>::xxx;
2019-12-11 19:06:24 -06:00
| ^^^^^^^^^^^^ cannot infer type for struct `S5<_>`
2019-10-29 19:28:39 -05:00
|
= note: cannot resolve `S5<_>: Foo`
2018-07-15 16:11:54 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0283`.