mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-01 01:23:26 +00:00
run cargo dev update_lints
This commit is contained in:
parent
12a6eee045
commit
94b10a6e5a
@ -1,6 +1,7 @@
|
|||||||
use crate::utils::paths;
|
use crate::utils::paths;
|
||||||
use crate::utils::{
|
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 if_chain::if_chain;
|
||||||
use rustc_hir::def_id::DefId;
|
use rustc_hir::def_id::DefId;
|
||||||
|
@ -363,7 +363,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
|
|||||||
Lint {
|
Lint {
|
||||||
name: "derive_ord_xor_partial_ord",
|
name: "derive_ord_xor_partial_ord",
|
||||||
group: "correctness",
|
group: "correctness",
|
||||||
desc: "default lint description",
|
desc: "deriving `Ord` but implementing `PartialOrd` explicitly",
|
||||||
deprecation: None,
|
deprecation: None,
|
||||||
module: "derive",
|
module: "derive",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user