fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
692 B32 linesraw
1error: missing `for` in a trait impl
2  --> $DIR/impl-parsing.rs:6:11
3   |
4LL | impl Trait Type {}
5   |           ^ help: add `for` here
6
7error: missing `for` in a trait impl
8  --> $DIR/impl-parsing.rs:7:11
9   |
10LL | impl Trait .. {}
11   |           ^ help: add `for` here
12
13error: expected a trait, found type
14  --> $DIR/impl-parsing.rs:8:6
15   |
16LL | impl ?Sized for Type {}
17   |      ^^^^^^
18
19error: expected a trait, found type
20  --> $DIR/impl-parsing.rs:9:6
21   |
22LL | impl ?Sized for .. {}
23   |      ^^^^^^
24
25error: expected `impl`, found `FAIL`
26  --> $DIR/impl-parsing.rs:11:16
27   |
28LL | default unsafe FAIL
29   |                ^^^^ expected `impl`
30
31error: aborting due to 5 previous errors
32