2016-03-24 18:25:59 +00:00
|
|
|
#![feature(plugin)]
|
|
|
|
#![plugin(clippy)]
|
|
|
|
|
|
|
|
#[warn(str_to_string)]
|
2016-09-23 17:51:32 +00:00
|
|
|
//~^WARNING: lint str_to_string has been removed: using `str::to_string`
|
2016-03-24 18:25:59 +00:00
|
|
|
#[warn(string_to_string)]
|
2016-09-23 17:51:32 +00:00
|
|
|
//~^WARNING: lint string_to_string has been removed: using `string::to_string`
|
2016-03-24 18:25:59 +00:00
|
|
|
#[warn(unstable_as_slice)]
|
2016-09-23 17:51:32 +00:00
|
|
|
//~^WARNING: lint unstable_as_slice has been removed: `Vec::as_slice` has been stabilized
|
2016-03-24 18:25:59 +00:00
|
|
|
#[warn(unstable_as_mut_slice)]
|
2016-09-23 17:51:32 +00:00
|
|
|
//~^WARNING: lint unstable_as_mut_slice has been removed: `Vec::as_mut_slice` has been stabilized
|
2016-03-24 18:25:59 +00:00
|
|
|
fn main() {}
|