fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
304 B18 linesraw
1error: missing trait in a trait impl
2  --> $DIR/issue-56031.rs:3:5
3   |
4LL | impl for T {}
5   |     ^
6   |
7help: add a trait here
8   |
9LL | impl Trait for T {}
10   |      +++++
11help: for an inherent impl, drop this `for`
12   |
13LL - impl for T {}
14LL + impl T {}
15   |
16
17error: aborting due to previous error
18