Make iteration order of trimmed_def_paths query stable
This commit is contained in:
parent
36dd3d4524
commit
7d4f2ee817
2 changed files with 4 additions and 4 deletions
|
@ -1791,7 +1791,7 @@ rustc_queries! {
|
|||
}
|
||||
/// Collects the "trimmed", shortest accessible paths to all items for diagnostics.
|
||||
/// See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info.
|
||||
query trimmed_def_paths(_: ()) -> &'tcx FxHashMap<DefId, Symbol> {
|
||||
query trimmed_def_paths(_: ()) -> &'tcx DefIdMap<Symbol> {
|
||||
arena_cache
|
||||
desc { "calculating trimmed def paths" }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue