We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c3e459 commit 7dc9748Copy full SHA for 7dc9748
clippy_lints/src/derive.rs
@@ -215,7 +215,6 @@ fn check_ord_pord<'tcx>(
215
if let Some(pord_trait_def_id) = cx.tcx.lang_items().partial_ord_trait();
216
if let Some(def_id) = &trait_ref.trait_def_id();
217
if *def_id == ord_trait_def_id;
218
- if !def_id.is_local();
219
then {
220
// Look for the PartialOrd implementations for `ty`
221
cx.tcx.for_each_relevant_impl(pord_trait_def_id, ty, |impl_id| {
0 commit comments