mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Add is_unit_expr
to deprecated lints list
This commit is contained in:
parent
8081f6fd6e
commit
7a6c03f876
1 changed files with 4 additions and 0 deletions
|
@ -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, it’s used in `update_lints`
|
||||
|
||||
reg.register_late_lint_pass(box serde_api::Serde);
|
||||
|
|
Loading…
Add table
Reference in a new issue