]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/impl-parsing.stderr
New upstream version 1.32.0+dfsg1
[rustc.git] / src / test / ui / parser / impl-parsing.stderr
CommitLineData
2c00a5a8
XL
1error: missing `for` in a trait impl
2 --> $DIR/impl-parsing.rs:16:11
3 |
0531ce1d 4LL | impl Trait Type {} //~ ERROR missing `for` in a trait impl
2c00a5a8
XL
5 | ^
6
7error: missing `for` in a trait impl
8 --> $DIR/impl-parsing.rs:17:11
9 |
0531ce1d 10LL | impl Trait .. {} //~ ERROR missing `for` in a trait impl
2c00a5a8
XL
11 | ^
12
13error: expected a trait, found type
14 --> $DIR/impl-parsing.rs:18:6
15 |
0531ce1d 16LL | impl ?Sized for Type {} //~ ERROR expected a trait, found type
2c00a5a8
XL
17 | ^^^^^^
18
19error: expected a trait, found type
20 --> $DIR/impl-parsing.rs:19:6
21 |
0531ce1d 22LL | impl ?Sized for .. {} //~ ERROR expected a trait, found type
2c00a5a8
XL
23 | ^^^^^^
24
25error: expected `impl`, found `FAIL`
26 --> $DIR/impl-parsing.rs:21:16
27 |
0531ce1d 28LL | default unsafe FAIL //~ ERROR expected `impl`, found `FAIL`
2c00a5a8
XL
29 | ^^^^ expected `impl` here
30
31error: aborting due to 5 previous errors
32