]> git.lizzy.rs Git - rust.git/blob - tests/ui/cfg_attr_rustfmt.stderr
Auto merge of #3635 - matthiaskrgr:revert_random_state_3603, r=xfix
[rust.git] / tests / ui / cfg_attr_rustfmt.stderr
1 error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
2   --> $DIR/cfg_attr_rustfmt.rs:25:5
3    |
4 LL |     #[cfg_attr(rustfmt, rustfmt::skip)]
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
6    |
7    = note: `-D clippy::deprecated-cfg-attr` implied by `-D warnings`
8
9 error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
10   --> $DIR/cfg_attr_rustfmt.rs:29:1
11    |
12 LL | #[cfg_attr(rustfmt, rustfmt_skip)]
13    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
14
15 error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
16   --> $DIR/cfg_attr_rustfmt.rs:35:5
17    |
18 LL |     #![cfg_attr(rustfmt, rustfmt_skip)]
19    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#![rustfmt::skip]`
20
21 error: aborting due to 3 previous errors
22