os-rust/src/test/ui/tool-attributes/tool-attributes-misplaced-2.stderr

15 lines
376 B
Text
Raw Normal View History

error: macro `rustfmt::skip` may not be used for derive attributes
2018-12-25 08:56:47 -07:00
--> $DIR/tool-attributes-misplaced-2.rs:1:10
|
2019-03-09 15:03:44 +03:00
LL | #[derive(rustfmt::skip)]
| ^^^^^^^^^^^^^
error: `rustfmt::skip` can only be used in attributes
2018-12-25 08:56:47 -07:00
--> $DIR/tool-attributes-misplaced-2.rs:5:5
|
2019-03-09 15:03:44 +03:00
LL | rustfmt::skip!();
| ^^^^^^^^^^^^^
error: aborting due to 2 previous errors