|
| 1 | +error[E0658]: The attribute `rustfmt` is currently unknown to the compiler and may have meaning added to it in the future |
| 2 | + --> $DIR/tool-attributes-misplaced-1.rs:8:3 |
| 3 | + | |
| 4 | +LL | #[rustfmt] |
| 5 | + | ^^^^^^^ |
| 6 | + | |
| 7 | + = note: for more information, see https://github.com/rust-lang/rust/issues/29642 |
| 8 | + = help: add #![feature(custom_attribute)] to the crate attributes to enable |
| 9 | + |
1 | 10 | error: cannot find derive macro `rustfmt` in this scope |
2 | | - --> $DIR/tool-attributes-misplaced-1.rs:6:10 |
| 11 | + --> $DIR/tool-attributes-misplaced-1.rs:4:10 |
3 | 12 | | |
4 | 13 | LL | #[derive(rustfmt)] |
5 | 14 | | ^^^^^^^ |
6 | 15 |
|
7 | 16 | error: cannot find macro `rustfmt!` in this scope |
8 | | - --> $DIR/tool-attributes-misplaced-1.rs:15:5 |
| 17 | + --> $DIR/tool-attributes-misplaced-1.rs:14:5 |
9 | 18 | | |
10 | 19 | LL | rustfmt!(); |
11 | 20 | | ^^^^^^^ |
12 | 21 |
|
13 | 22 | error[E0573]: expected type, found tool module `rustfmt` |
14 | | - --> $DIR/tool-attributes-misplaced-1.rs:3:10 |
| 23 | + --> $DIR/tool-attributes-misplaced-1.rs:1:10 |
15 | 24 | | |
16 | 25 | LL | type A = rustfmt; |
17 | 26 | | ^^^^^^^ not a type |
18 | 27 |
|
19 | 28 | error[E0573]: expected type, found tool attribute `rustfmt::skip` |
20 | | - --> $DIR/tool-attributes-misplaced-1.rs:4:10 |
| 29 | + --> $DIR/tool-attributes-misplaced-1.rs:2:10 |
21 | 30 | | |
22 | 31 | LL | type B = rustfmt::skip; |
23 | 32 | | ^^^^^^^^^^^^^ not a type |
24 | 33 |
|
25 | 34 | error[E0423]: expected value, found tool module `rustfmt` |
26 | | - --> $DIR/tool-attributes-misplaced-1.rs:14:5 |
| 35 | + --> $DIR/tool-attributes-misplaced-1.rs:13:5 |
27 | 36 | | |
28 | 37 | LL | rustfmt; |
29 | 38 | | ^^^^^^^ not a value |
30 | 39 |
|
31 | 40 | error[E0423]: expected value, found tool attribute `rustfmt::skip` |
32 | | - --> $DIR/tool-attributes-misplaced-1.rs:17:5 |
| 41 | + --> $DIR/tool-attributes-misplaced-1.rs:16:5 |
33 | 42 | | |
34 | 43 | LL | rustfmt::skip; |
35 | 44 | | ^^^^^^^^^^^^^ not a value |
36 | 45 |
|
37 | | -error: aborting due to 6 previous errors |
| 46 | +error: aborting due to 7 previous errors |
38 | 47 |
|
39 | | -For more information about this error, try `rustc --explain E0423`. |
| 48 | +Some errors have detailed explanations: E0423, E0658. |
| 49 | +For more information about an error, try `rustc --explain E0423`. |
0 commit comments