File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
compiler/rustc_infer/src/infer/snapshot Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11use super :: VariableLengths ;
2+ use crate :: infer:: InferCtxt ;
23use rustc_middle:: ty:: { self , Ty , TyCtxt } ;
3- use rustc_middle:: ty:: { TypeVisitor , TypeSuperVisitable } ;
4+ use rustc_middle:: ty:: { TypeSuperVisitable , TypeVisitor } ;
45use std:: ops:: ControlFlow ;
5- use crate :: infer:: InferCtxt ;
66
77pub struct HasSnapshotLeaksVisitor {
88 universe : ty:: UniverseIndex ,
@@ -105,7 +105,9 @@ macro_rules! type_foldable_verify_no_snapshot_leaks {
105105 impl <$tcx> $crate:: infer:: snapshot:: NoSnapshotLeaks <$tcx> for $t {
106106 type DataStart = HasSnapshotLeaksVisitor ;
107107 type DataEnd = HasSnapshotLeaksVisitor ;
108- fn mk_data_snapshot_start( infcx: & $crate:: infer:: InferCtxt <$tcx>) -> Self :: DataStart {
108+ fn mk_data_snapshot_start(
109+ infcx: & $crate:: infer:: InferCtxt <$tcx>,
110+ ) -> Self :: DataStart {
109111 HasSnapshotLeaksVisitor :: new( infcx)
110112 }
111113 fn mk_data_snapshot_end(
@@ -128,4 +130,4 @@ macro_rules! type_foldable_verify_no_snapshot_leaks {
128130 }
129131 } ;
130132 } ;
131- }
133+ }
You can’t perform that action at this time.
0 commit comments