]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-29147.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-29147.stderr
1 error[E0283]: type annotations required: cannot resolve `S5<_>: Foo`
2   --> $DIR/issue-29147.rs:31:13
3    |
4 LL |     let _ = <S5<_>>::xxx; //~ ERROR cannot resolve `S5<_>: Foo`
5    |             ^^^^^^^^^^^^
6    |
7 note: required by `Foo::xxx`
8   --> $DIR/issue-29147.rs:20:13
9    |
10 LL | trait Foo { fn xxx(&self); }
11    |             ^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0283`.