Skip to content

Commit e9d54e1

Browse files
committed
Reorder the slice interners.
So the order matches the order in `CtxtInterners`.
1 parent 06c6894 commit e9d54e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/ty/context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2215,10 +2215,10 @@ macro_rules! slice_interners {
22152215
}
22162216

22172217
slice_interners!(
2218-
existential_predicates: _intern_existential_predicates(ExistentialPredicate<'tcx>),
2219-
predicates: _intern_predicates(Predicate<'tcx>),
22202218
type_list: _intern_type_list(Ty<'tcx>),
22212219
substs: _intern_substs(GenericArg<'tcx>),
2220+
existential_predicates: _intern_existential_predicates(ExistentialPredicate<'tcx>),
2221+
predicates: _intern_predicates(Predicate<'tcx>),
22222222
clauses: _intern_clauses(Clause<'tcx>),
22232223
goal_list: _intern_goals(Goal<'tcx>),
22242224
projs: _intern_projs(ProjectionKind)

0 commit comments

Comments
 (0)