Skip to content

Commit 318f84f

Browse files
committed
Update stderr
1 parent 5c13852 commit 318f84f

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

Diff for: tests/ui/cfg_attr_rustfmt.stderr

+15-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
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]`
814

915
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
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

0 commit comments

Comments
 (0)