mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
run cargo dev update_lints
This commit is contained in:
parent
12a6eee045
commit
94b10a6e5a
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
use crate::utils::paths;
|
||||
use crate::utils::{
|
||||
get_trait_def_id, is_automatically_derived, is_copy, match_path, span_lint_and_help, span_lint_and_note, span_lint_and_then,
|
||||
get_trait_def_id, is_automatically_derived, is_copy, match_path, span_lint_and_help, span_lint_and_note,
|
||||
span_lint_and_then,
|
||||
};
|
||||
use if_chain::if_chain;
|
||||
use rustc_hir::def_id::DefId;
|
||||
|
|
|
@ -363,7 +363,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
|
|||
Lint {
|
||||
name: "derive_ord_xor_partial_ord",
|
||||
group: "correctness",
|
||||
desc: "default lint description",
|
||||
desc: "deriving `Ord` but implementing `PartialOrd` explicitly",
|
||||
deprecation: None,
|
||||
module: "derive",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue