File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 11error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
2- --> $DIR/cfg_attr_lint.rs:8:1
3- |
4- 8 | #[cfg_attr(rustfmt, rustfmt_skip)]
5- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
6- |
7- = note: `-D clippy::deprecated-cfg-attr` implied by `-D warnings`
2+ --> $DIR/cfg_attr_rustfmt.rs:25:5
3+ |
4+ 25 | #[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+ 29 | #[cfg_attr(rustfmt, rustfmt_skip)]
13+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
814
915error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
10- --> $DIR/cfg_attr_lint .rs:14 :5
16+ --> $DIR/cfg_attr_rustfmt .rs:35 :5
1117 |
12- 14 | #![cfg_attr(rustfmt, rustfmt_skip)]
18+ 35 | #![cfg_attr(rustfmt, rustfmt_skip)]
1319 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#![rustfmt::skip]`
1420
15- error: aborting due to 2 previous errors
21+ error: aborting due to 3 previous errors
1622
You can’t perform that action at this time.
0 commit comments