diff --git a/compiler/rustc_infer/src/infer/mod.rs b/compiler/rustc_infer/src/infer/mod.rs index 15ce690479b..fa17a2d66f1 100644 --- a/compiler/rustc_infer/src/infer/mod.rs +++ b/compiler/rustc_infer/src/infer/mod.rs @@ -190,10 +190,10 @@ pub struct InferCtxtInner<'tcx> { /// that all type inference variables have been bound and so forth. region_obligations: Vec<(hir::HirId, RegionObligation<'tcx>)>, + undo_log: InferCtxtUndoLogs<'tcx>, + /// Caches for opaque type inference. pub opaque_type_storage: OpaqueTypeStorage<'tcx>, - - undo_log: InferCtxtUndoLogs<'tcx>, } impl<'tcx> InferCtxtInner<'tcx> {