Use unit_expr

This commit is contained in:
HMPerson1
2018-01-18 17:33:09 -05:00
parent 7a6c03f876
commit e09805e8ca

View File

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