]> git.proxmox.com Git - rustc.git/blob - src/test/ui/tool-attributes/tool-attributes-misplaced-1.stderr
New upstream version 1.36.0+dfsg1
[rustc.git] / src / test / ui / tool-attributes / tool-attributes-misplaced-1.stderr
1 error: cannot find derive macro `rustfmt` in this scope
2 --> $DIR/tool-attributes-misplaced-1.rs:6:10
3 |
4 LL | #[derive(rustfmt)]
5 | ^^^^^^^
6
7 error: cannot find macro `rustfmt!` in this scope
8 --> $DIR/tool-attributes-misplaced-1.rs:15:5
9 |
10 LL | rustfmt!();
11 | ^^^^^^^
12
13 error[E0573]: expected type, found tool module `rustfmt`
14 --> $DIR/tool-attributes-misplaced-1.rs:3:10
15 |
16 LL | type A = rustfmt;
17 | ^^^^^^^ not a type
18
19 error[E0573]: expected type, found tool attribute `rustfmt::skip`
20 --> $DIR/tool-attributes-misplaced-1.rs:4:10
21 |
22 LL | type B = rustfmt::skip;
23 | ^^^^^^^^^^^^^ not a type
24
25 error[E0423]: expected value, found tool module `rustfmt`
26 --> $DIR/tool-attributes-misplaced-1.rs:14:5
27 |
28 LL | rustfmt;
29 | ^^^^^^^ not a value
30
31 error[E0423]: expected value, found tool attribute `rustfmt::skip`
32 --> $DIR/tool-attributes-misplaced-1.rs:17:5
33 |
34 LL | rustfmt::skip;
35 | ^^^^^^^^^^^^^ not a value
36
37 error: aborting due to 6 previous errors
38
39 For more information about this error, try `rustc --explain E0423`.