mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
12 lines
500 B
Rust
12 lines
500 B
Rust
#![feature(plugin)]
|
|
#![plugin(clippy)]
|
|
|
|
#[warn(str_to_string)]
|
|
//~^WARNING: lint str_to_string has been removed: using `str::to_string`
|
|
#[warn(string_to_string)]
|
|
//~^WARNING: lint string_to_string has been removed: using `string::to_string`
|
|
#[warn(unstable_as_slice)]
|
|
//~^WARNING: lint unstable_as_slice has been removed: `Vec::as_slice` has been stabilized
|
|
#[warn(unstable_as_mut_slice)]
|
|
//~^WARNING: lint unstable_as_mut_slice has been removed: `Vec::as_mut_slice` has been stabilized
|
|
fn main() {}
|