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