Make iteration order of inferred_outlives_crate query stable

This commit is contained in:
Michael Woerister 2023-12-21 11:12:37 +01:00
parent 0e934190fd
commit 02c7717ba6

View File

@ -656,7 +656,7 @@ pub struct CratePredicatesMap<'tcx> {
/// For each struct with outlive bounds, maps to a vector of the
/// predicate of its outlive bounds. If an item has no outlives
/// bounds, it will have no entry.
pub predicates: FxHashMap<DefId, &'tcx [(Clause<'tcx>, Span)]>,
pub predicates: DefIdMap<&'tcx [(Clause<'tcx>, Span)]>,
}
impl<'tcx> Clause<'tcx> {