Skip to content

Commit 4f527a5

Browse files
authored
Rollup merge of #105362 - WaffleLapkin:🙅, r=oli-obk
Cleanup macro-expanded code in `rustc_type_ir` We could of course just leave this as-is, but every time I go-to-def to this file it's painful to see all this `(&A(ref __self_1_0),)` stuff.
2 parents 4f919e4 + e12d222 commit 4f527a5

File tree

2 files changed

+213
-371
lines changed

2 files changed

+213
-371
lines changed

compiler/rustc_span/src/def_id.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ impl Ord for DefId {
274274
impl PartialOrd for DefId {
275275
#[inline]
276276
fn partial_cmp(&self, other: &DefId) -> Option<std::cmp::Ordering> {
277-
Some(Ord::cmp(self, other))
277+
Some(self.cmp(other))
278278
}
279279
}
280280

0 commit comments

Comments
 (0)