]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/cfg_attr_rustfmt.stderr
Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup
[rust.git] / src / tools / clippy / 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:18: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:22:1
11    |
12 LL | #[cfg_attr(rustfmt, rustfmt_skip)]
13    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
14
15 error: aborting due to 2 previous errors
16