rust/tests/ui/cfg_attr_rustfmt.stderr

23 lines
833 B
Plaintext
Raw Normal View History

2018-09-03 08:34:33 -05:00
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
2018-11-02 07:43:16 -05:00
--> $DIR/cfg_attr_rustfmt.rs:25:5
|
25 | #[cfg_attr(rustfmt, rustfmt::skip)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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:29:1
|
29 | #[cfg_attr(rustfmt, rustfmt_skip)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
2018-09-03 08:34:33 -05:00
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
2018-11-02 07:43:16 -05:00
--> $DIR/cfg_attr_rustfmt.rs:35:5
|
2018-11-02 07:43:16 -05:00
35 | #![cfg_attr(rustfmt, rustfmt_skip)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#![rustfmt::skip]`
2018-11-02 07:43:16 -05:00
error: aborting due to 3 previous errors
2018-09-03 08:34:33 -05:00