fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
479 B22 linesraw
1error: missing `for` in a trait impl
2  --> $DIR/issue-27255.rs:3:7
3   |
4LL | impl A .. {}
5   |       ^ help: add `for` here
6
7error: missing `for` in a trait impl
8  --> $DIR/issue-27255.rs:7:7
9   |
10LL | impl A      usize {}
11   |       ^^^^^^ help: add `for` here
12
13error: `impl Trait for .. {}` is an obsolete syntax
14  --> $DIR/issue-27255.rs:3:1
15   |
16LL | impl A .. {}
17   | ^^^^^^^^^^^^
18   |
19   = help: use `auto trait Trait {}` instead
20
21error: aborting due to 3 previous errors
22