]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-29147.stderr
Rollup merge of #87307 - michaelwoerister:pgo-unwind-msvc, r=nagisa
[rust.git] / src / test / ui / issues / issue-29147.stderr
1 error[E0283]: type annotations needed
2   --> $DIR/issue-29147.rs:21:13
3    |
4 LL |     let _ = <S5<_>>::xxx;
5    |             ^^^^^^^^^^^^ cannot infer type for struct `S5<_>`
6    |
7    = note: cannot satisfy `S5<_>: Foo`
8 note: required by `Foo::xxx`
9   --> $DIR/issue-29147.rs:10:13
10    |
11 LL | trait Foo { fn xxx(&self); }
12    |             ^^^^^^^^^^^^^^
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0283`.