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