File tree 1 file changed +15
-9
lines changed
1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
1
error: `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]`
8
14
9
15
error: `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
11
17
|
12
- 14 | #![cfg_attr(rustfmt, rustfmt_skip)]
18
+ 35 | #![cfg_attr(rustfmt, rustfmt_skip)]
13
19
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#![rustfmt::skip]`
14
20
15
- error: aborting due to 2 previous errors
21
+ error: aborting due to 3 previous errors
16
22
You can’t perform that action at this time.
0 commit comments