Skip to content

Commit 16c0a2f

Browse files
committed
update test stderr
1 parent 79b1d9a commit 16c0a2f

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

tests/ui/deprecated.stderr

+7-1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,11 @@ error: lint `misaligned_transmute` has been removed: `this lint has been split i
3030
LL | #[warn(misaligned_transmute)]
3131
| ^^^^^^^^^^^^^^^^^^^^
3232

33-
error: aborting due to 5 previous errors
33+
error: lint `str_to_string` has been removed: `using `str::to_string` is common even today and specialization will likely happen soon`
34+
--> $DIR/deprecated.rs:1:8
35+
|
36+
LL | #[warn(str_to_string)]
37+
| ^^^^^^^^^^^^^
38+
39+
error: aborting due to 6 previous errors
3440

tests/ui/rename.stderr

+13-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,17 @@ error: lint `clippy::new_without_default_derive` has been renamed to `clippy::ne
2020
LL | #[warn(clippy::new_without_default_derive)]
2121
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
2222

23-
error: aborting due to 3 previous errors
23+
error: unknown lint: `stutter`
24+
--> $DIR/rename.rs:1:10
25+
|
26+
LL | #![allow(stutter)]
27+
| ^^^^^^^
28+
29+
error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
30+
--> $DIR/rename.rs:3:8
31+
|
32+
LL | #[warn(clippy::stutter)]
33+
| ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
34+
35+
error: aborting due to 5 previous errors
2436

0 commit comments

Comments
 (0)