Skip to content

Commit 8f61a79

Browse files
committed
Update test output to changes in rustc
1 parent 6992937 commit 8f61a79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/ui/deprecated.stderr

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
error: lint str_to_string has been removed: using `str::to_string` is common even today and specialization will likely happen soon
1+
error: lint `str_to_string` has been removed: `using `str::to_string` is common even today and specialization will likely happen soon`
22
--> $DIR/deprecated.rs:4:8
33
|
44
4 | #[warn(str_to_string)]
55
| ^^^^^^^^^^^^^
66
|
77
= note: `-D renamed-and-removed-lints` implied by `-D warnings`
88

9-
error: lint string_to_string has been removed: using `string::to_string` is common even today and specialization will likely happen soon
9+
error: lint `string_to_string` has been removed: `using `string::to_string` is common even today and specialization will likely happen soon`
1010
--> $DIR/deprecated.rs:6:8
1111
|
1212
6 | #[warn(string_to_string)]
1313
| ^^^^^^^^^^^^^^^^
1414

15-
error: lint unstable_as_slice has been removed: `Vec::as_slice` has been stabilized in 1.7
15+
error: lint `unstable_as_slice` has been removed: ``Vec::as_slice` has been stabilized in 1.7`
1616
--> $DIR/deprecated.rs:8:8
1717
|
1818
8 | #[warn(unstable_as_slice)]
1919
| ^^^^^^^^^^^^^^^^^
2020

21-
error: lint unstable_as_mut_slice has been removed: `Vec::as_mut_slice` has been stabilized in 1.7
21+
error: lint `unstable_as_mut_slice` has been removed: ``Vec::as_mut_slice` has been stabilized in 1.7`
2222
--> $DIR/deprecated.rs:10:8
2323
|
2424
10 | #[warn(unstable_as_mut_slice)]
2525
| ^^^^^^^^^^^^^^^^^^^^^
2626

27-
error: lint misaligned_transmute has been removed: this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr
27+
error: lint `misaligned_transmute` has been removed: `this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr`
2828
--> $DIR/deprecated.rs:12:8
2929
|
3030
12 | #[warn(misaligned_transmute)]

0 commit comments

Comments
 (0)