@@ -230,20 +230,23 @@ TrivialLiftImpls! {
230230 bool ,
231231 usize ,
232232 u64 ,
233- crate :: mir :: Promoted ,
233+ // tidy-alphabetical-start
234234 crate :: mir:: interpret:: AllocId ,
235235 crate :: mir:: interpret:: Scalar ,
236+ crate :: mir:: Promoted ,
236237 rustc_abi:: ExternAbi ,
237238 rustc_abi:: Size ,
238239 rustc_hir:: Safety ,
239240 rustc_type_ir:: BoundConstness ,
240241 rustc_type_ir:: PredicatePolarity ,
242+ // tidy-alphabetical-end
241243}
242244
243245// For some things about which the type library does not know, or does not
244246// provide any traversal implementations, we need to provide a traversal
245247// implementation (only for TyCtxt<'_> interners).
246248TrivialTypeTraversalImpls ! {
249+ // tidy-alphabetical-start
247250 crate :: infer:: canonical:: Certainty ,
248251 crate :: mir:: BasicBlock ,
249252 crate :: mir:: BindingForm <' tcx>,
@@ -265,6 +268,9 @@ TrivialTypeTraversalImpls! {
265268 crate :: mir:: SwitchTargets ,
266269 crate :: traits:: IsConstable ,
267270 crate :: traits:: OverflowError ,
271+ crate :: ty:: abstract_const:: NotConstEvaluatable ,
272+ crate :: ty:: adjustment:: AutoBorrowMutability ,
273+ crate :: ty:: adjustment:: PointerCoercion ,
268274 crate :: ty:: AdtKind ,
269275 crate :: ty:: AssocItem ,
270276 crate :: ty:: AssocKind ,
@@ -275,32 +281,32 @@ TrivialTypeTraversalImpls! {
275281 crate :: ty:: Placeholder <ty:: BoundVar >,
276282 crate :: ty:: UserTypeAnnotationIndex ,
277283 crate :: ty:: ValTree <' tcx>,
278- crate :: ty:: abstract_const:: NotConstEvaluatable ,
279- crate :: ty:: adjustment:: AutoBorrowMutability ,
280- crate :: ty:: adjustment:: PointerCoercion ,
281284 rustc_abi:: FieldIdx ,
282285 rustc_abi:: VariantIdx ,
283286 rustc_ast:: InlineAsmOptions ,
284287 rustc_ast:: InlineAsmTemplatePiece ,
285288 rustc_hir:: CoroutineKind ,
289+ rustc_hir:: def_id:: LocalDefId ,
286290 rustc_hir:: HirId ,
287291 rustc_hir:: MatchSource ,
288- rustc_hir:: def_id:: LocalDefId ,
289292 rustc_span:: Ident ,
290293 rustc_span:: Span ,
291294 rustc_span:: Symbol ,
292295 rustc_target:: asm:: InlineAsmRegOrRegClass ,
296+ // tidy-alphabetical-end
293297}
294298
295299// For some things about which the type library does not know, or does not
296300// provide any traversal implementations, we need to provide a traversal
297301// implementation and a lift implementation (the former only for TyCtxt<'_>
298302// interners).
299303TrivialTypeTraversalAndLiftImpls ! {
304+ // tidy-alphabetical-start
305+ crate :: ty:: instance:: ReifyReason ,
300306 crate :: ty:: ParamConst ,
301307 crate :: ty:: ParamTy ,
302- crate :: ty:: instance:: ReifyReason ,
303308 rustc_hir:: def_id:: DefId ,
309+ // tidy-alphabetical-end
304310}
305311
306312///////////////////////////////////////////////////////////////////////////
0 commit comments