Skip to content

Commit 36f5a90

Browse files
committed
dadasd
1 parent cbcce45 commit 36f5a90

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

compiler/rustc_middle/src/ty/print/pretty.rs

+9-11
Original file line numberDiff line numberDiff line change
@@ -3500,19 +3500,17 @@ pub fn trimmed_def_paths(tcx: TyCtxt<'_>, (): ()) -> DefIdMap<Symbol> {
35003500
}
35013501
}
35023502

3503-
for_each_def(tcx, |ident, ns, def_id| {
3504-
match unique_symbols_rev.entry((ns, ident.name)) {
3505-
IndexEntry::Occupied(mut v) => match v.get() {
3506-
None => {}
3507-
Some(existing) => {
3508-
if *existing != def_id {
3509-
v.insert(None);
3510-
}
3503+
for_each_def(tcx, |ident, ns, def_id| match unique_symbols_rev.entry((ns, ident.name)) {
3504+
IndexEntry::Occupied(mut v) => match v.get() {
3505+
None => {}
3506+
Some(existing) => {
3507+
if *existing != def_id {
3508+
v.insert(None);
35113509
}
3512-
},
3513-
IndexEntry::Vacant(v) => {
3514-
v.insert(Some(def_id));
35153510
}
3511+
},
3512+
IndexEntry::Vacant(v) => {
3513+
v.insert(Some(def_id));
35163514
}
35173515
});
35183516

0 commit comments

Comments
 (0)