summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-56031.stderr
blob: 2fa05dd2dfbb389295126e1441c2e9344998d2b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: missing trait in a trait impl
  --> $DIR/issue-56031.rs:3:5
   |
LL | impl for T {}
   |     ^
   |
help: add a trait here
   |
LL | impl Trait for T {}
   |      +++++
help: for an inherent impl, drop this `for`
   |
LL - impl for T {}
LL + impl T {}
   |

error: aborting due to previous error