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 b74d2a3 commit d6294ccCopy full SHA for d6294cc
compiler/rustc_middle/src/mir/mono.rs
@@ -558,7 +558,9 @@ impl<'tcx> CodegenUnit<'tcx> {
558
}
559
fn item_sort_key<'tcx>(tcx: TyCtxt<'tcx>, item: MonoItem<'tcx>) -> ItemSortKey<'tcx> {
560
ItemSortKey(
561
- local_item_id(item).map(|def_id| tcx.def_span(def_id).find_ancestor_not_from_macro()).flatten(),
+ local_item_id(item)
562
+ .map(|def_id| tcx.def_span(def_id).find_ancestor_not_from_macro())
563
+ .flatten(),
564
local_item_id(item).map(|def_id| tcx.def_path(def_id).to_string_no_crate_verbose()),
565
item.symbol_name(tcx),
566
)
0 commit comments