Add is_unit_expr to deprecated lints list

This commit is contained in:
HMPerson1 2018-01-18 17:29:14 -05:00
parent 8081f6fd6e
commit 7a6c03f876
No known key found for this signature in database
GPG key ID: 1FB477DDD27821CE

View file

@ -247,6 +247,10 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
"string_to_string",
"using `string::to_string` is common even today and specialization will likely happen soon",
);
store.register_removed(
"is_unit_expr",
"superseded by `let_unit_value` and `unit_arg`",
);
// end deprecated lints, do not remove this comment, its used in `update_lints`
reg.register_late_lint_pass(box serde_api::Serde);