rust/tests/ui/cfg_attr_rustfmt.stderr

17 lines
590 B
Plaintext
Raw Normal View History

2018-09-03 15:34:33 +02:00
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
--> $DIR/cfg_attr_rustfmt.rs:18:5
2018-11-02 13:43:16 +01:00
|
2018-12-27 16:57:55 +01:00
LL | #[cfg_attr(rustfmt, rustfmt::skip)]
2018-11-02 13:43:16 +01:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
|
= note: `-D clippy::deprecated-cfg-attr` implied by `-D warnings`
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
--> $DIR/cfg_attr_rustfmt.rs:22:1
2018-11-02 13:43:16 +01:00
|
2018-12-27 16:57:55 +01:00
LL | #[cfg_attr(rustfmt, rustfmt_skip)]
2018-11-02 13:43:16 +01:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
2018-09-03 15:34:33 +02:00
error: aborting due to 2 previous errors
2018-09-03 15:34:33 +02:00