Skip to content

Commit 02c7717

Browse files
Make iteration order of inferred_outlives_crate query stable
1 parent 0e93419 commit 02c7717

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ pub struct CratePredicatesMap<'tcx> {
656656
/// For each struct with outlive bounds, maps to a vector of the
657657
/// predicate of its outlive bounds. If an item has no outlives
658658
/// bounds, it will have no entry.
659-
pub predicates: FxHashMap<DefId, &'tcx [(Clause<'tcx>, Span)]>,
659+
pub predicates: DefIdMap<&'tcx [(Clause<'tcx>, Span)]>,
660660
}
661661

662662
impl<'tcx> Clause<'tcx> {

0 commit comments

Comments
 (0)