mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Remove redundant labels in tests
This commit is contained in:
parent
fc9f2b99c7
commit
056b0c1cf2
1 changed files with 4 additions and 4 deletions
|
@ -2,11 +2,11 @@
|
|||
#![plugin(clippy)]
|
||||
|
||||
#[warn(str_to_string)]
|
||||
//~^WARNING: warning: lint str_to_string has been removed: using `str::to_string`
|
||||
//~^WARNING: lint str_to_string has been removed: using `str::to_string`
|
||||
#[warn(string_to_string)]
|
||||
//~^WARNING: warning: lint string_to_string has been removed: using `string::to_string`
|
||||
//~^WARNING: lint string_to_string has been removed: using `string::to_string`
|
||||
#[warn(unstable_as_slice)]
|
||||
//~^WARNING: warning: lint unstable_as_slice has been removed: `Vec::as_slice` has been stabilized
|
||||
//~^WARNING: lint unstable_as_slice has been removed: `Vec::as_slice` has been stabilized
|
||||
#[warn(unstable_as_mut_slice)]
|
||||
//~^WARNING: warning: lint unstable_as_mut_slice has been removed: `Vec::as_mut_slice` has been stabilized
|
||||
//~^WARNING: lint unstable_as_mut_slice has been removed: `Vec::as_mut_slice` has been stabilized
|
||||
fn main() {}
|
||||
|
|
Loading…
Reference in a new issue