Skip to content

Commit a19986f

Browse files
committed
remove two lints from deprecation
1 parent 5d5b8bc commit a19986f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

clippy_lints/src/lib.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -441,14 +441,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
441441
"clippy::unstable_as_mut_slice",
442442
"`Vec::as_mut_slice` has been stabilized in 1.7",
443443
);
444-
/* store.register_removed(
445-
"clippy::str_to_string",
446-
"using `str::to_string` is common even today and specialization will likely happen soon",
447-
);
448-
store.register_removed(
449-
"clippy::string_to_string",
450-
"using `string::to_string` is common even today and specialization will likely happen soon",
451-
); */
452444
store.register_removed(
453445
"clippy::misaligned_transmute",
454446
"this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr",
@@ -1934,14 +1926,6 @@ fn register_removed_non_tool_lints(store: &mut rustc_lint::LintStore) {
19341926
"unstable_as_mut_slice",
19351927
"`Vec::as_mut_slice` has been stabilized in 1.7",
19361928
);
1937-
/* store.register_removed(
1938-
"str_to_string",
1939-
"using `str::to_string` is common even today and specialization will likely happen soon",
1940-
);
1941-
store.register_removed(
1942-
"string_to_string",
1943-
"using `string::to_string` is common even today and specialization will likely happen soon",
1944-
); */
19451929
store.register_removed(
19461930
"misaligned_transmute",
19471931
"this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr",

0 commit comments

Comments
 (0)