Skip to content

Commit 85fbc06

Browse files
committed
Remove PartialOrd and Ord from LocalDefId
1 parent 18bc4be commit 85fbc06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_span/src/def_id.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ rustc_data_structures::define_id_collections!(DefIdMap, DefIdSet, DefId);
281281
/// few cases where we know that only DefIds from the local crate are expected
282282
/// and a DefId from a different crate would signify a bug somewhere. This
283283
/// is when LocalDefId comes in handy.
284-
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
284+
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
285285
pub struct LocalDefId {
286286
pub local_def_index: DefIndex,
287287
}

0 commit comments

Comments
 (0)