2019-07-03 12:47:24 +03:00
|
|
|
error: expected derive macro, found tool attribute `rustfmt::skip`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/tool-attributes-misplaced-2.rs:1:10
|
2018-07-23 02:52:51 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[derive(rustfmt::skip)]
|
2023-04-01 03:52:58 +01:00
|
|
|
| ^^^^^^^^^^^^^ not a derive macro
|
|
|
|
|
|
2023-04-07 08:14:48 +01:00
|
|
|
help: remove from the surrounding `derive()`
|
2023-04-01 03:52:58 +01:00
|
|
|
--> $DIR/tool-attributes-misplaced-2.rs:1:10
|
2023-03-26 15:59:45 +01:00
|
|
|
|
|
2023-04-01 03:52:58 +01:00
|
|
|
LL | #[derive(rustfmt::skip)]
|
|
|
|
| ^^^^^^^^^^^^^
|
2023-04-07 08:14:48 +01:00
|
|
|
= help: add as non-Derive macro
|
2023-03-30 21:43:32 +01:00
|
|
|
`#[rustfmt::skip]`
|
2018-07-23 02:52:51 +03:00
|
|
|
|
2019-07-03 12:47:24 +03:00
|
|
|
error: expected macro, found tool attribute `rustfmt::skip`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/tool-attributes-misplaced-2.rs:5:5
|
2018-07-23 02:52:51 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | rustfmt::skip!();
|
2019-07-03 12:47:24 +03:00
|
|
|
| ^^^^^^^^^^^^^ not a macro
|
2018-07-23 02:52:51 +03:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|