]> git.lizzy.rs Git - rust.git/blob - src/test/ui/tool-attributes/tool-attributes-misplaced-1.stderr
Rollup merge of #62709 - nhynes:test-maplike-fromiter, r=cuviper
[rust.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:4:10
3    |
4 LL | #[derive(rustfmt)]
5    |          ^^^^^^^
6
7 error: cannot find attribute macro `rustfmt` in this scope
8   --> $DIR/tool-attributes-misplaced-1.rs:8:3
9    |
10 LL | #[rustfmt]
11    |   ^^^^^^^
12
13 error: cannot find macro `rustfmt!` in this scope
14   --> $DIR/tool-attributes-misplaced-1.rs:14:5
15    |
16 LL |     rustfmt!();
17    |     ^^^^^^^
18
19 error[E0573]: expected type, found tool module `rustfmt`
20   --> $DIR/tool-attributes-misplaced-1.rs:1:10
21    |
22 LL | type A = rustfmt;
23    |          ^^^^^^^ not a type
24
25 error[E0573]: expected type, found tool attribute `rustfmt::skip`
26   --> $DIR/tool-attributes-misplaced-1.rs:2:10
27    |
28 LL | type B = rustfmt::skip;
29    |          ^^^^^^^^^^^^^ not a type
30
31 error[E0423]: expected value, found tool module `rustfmt`
32   --> $DIR/tool-attributes-misplaced-1.rs:13:5
33    |
34 LL |     rustfmt;
35    |     ^^^^^^^ not a value
36
37 error[E0423]: expected value, found tool attribute `rustfmt::skip`
38   --> $DIR/tool-attributes-misplaced-1.rs:16:5
39    |
40 LL |     rustfmt::skip;
41    |     ^^^^^^^^^^^^^ not a value
42
43 error: aborting due to 7 previous errors
44
45 For more information about this error, try `rustc --explain E0423`.