]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-56031.stderr
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-56031.stderr
1 error: missing trait in a trait impl
2   --> $DIR/issue-56031.rs:3:5
3    |
4 LL | impl for T {}
5    |     ^
6    |
7 help: add a trait here
8    |
9 LL | impl Trait for T {}
10    |      +++++
11 help: for an inherent impl, drop this `for`
12    |
13 LL - impl for T {}
14 LL + impl T {}
15    |
16
17 error: aborting due to previous error
18