autogenerated functions are ignored by rustfmt

This commit is contained in:
Oliver Schneider 2016-12-21 12:40:56 +01:00
parent 0553de8573
commit 53fc09ec46
No known key found for this signature in database
GPG Key ID: 56D6EEA0FC67AC46
1 changed files with 2 additions and 4 deletions

View File

@ -175,10 +175,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
let mut store = reg.sess.lint_store.borrow_mut();
store.register_removed("unstable_as_slice", "`Vec::as_slice` has been stabilized in 1.7");
store.register_removed("unstable_as_mut_slice", "`Vec::as_mut_slice` has been stabilized in 1.7");
store.register_removed("str_to_string",
"using `str::to_string` is common even today and specialization will likely happen soon");
store.register_removed("string_to_string",
"using `string::to_string` is common even today and specialization will likely happen soon");
store.register_removed("str_to_string", "using `str::to_string` is common even today and specialization will likely happen soon");
store.register_removed("string_to_string", "using `string::to_string` is common even today and specialization will likely happen soon");
// end deprecated lints, do not remove this comment, its used in `update_lints`
reg.register_late_lint_pass(box serde::Serde);