1 error: expected a macro, found non-macro attribute
2 --> $DIR/tool-attributes-misplaced-2.rs:13:10
4 LL | #[derive(rustfmt::skip)] //~ ERROR expected a macro, found non-macro attribute
7 error: expected a macro, found non-macro attribute
8 --> $DIR/tool-attributes-misplaced-2.rs:17:5
10 LL | rustfmt::skip!(); //~ ERROR expected a macro, found non-macro attribute
13 error: aborting due to 2 previous errors