fill in lint description for DERIVE_ORD_XOR_PARTIAL_ORD

This commit is contained in:
Ryan1729 2020-07-27 00:22:39 -06:00
parent ca03f2b650
commit 12a6eee045

View file

@ -1,7 +1,6 @@
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, get_trait_def_id, is_automatically_derived, is_copy, match_path, span_lint_and_help, span_lint_and_note, span_lint_and_then,
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;
@ -92,7 +91,7 @@ declare_clippy_lint! {
/// ``` /// ```
pub DERIVE_ORD_XOR_PARTIAL_ORD, pub DERIVE_ORD_XOR_PARTIAL_ORD,
correctness, correctness,
"default lint description" "deriving `Ord` but implementing `PartialOrd` explicitly"
} }
declare_clippy_lint! { declare_clippy_lint! {