@@ -87,7 +87,7 @@ impl<'tcx> TypeFoldable<'tcx> for Terminator<'tcx> {
8787 Terminator { source_info : self . source_info , kind }
8888 }
8989
90- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) , ( ) > {
90+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) > {
9191 use crate :: mir:: TerminatorKind :: * ;
9292
9393 match self . kind {
@@ -147,7 +147,7 @@ impl<'tcx> TypeFoldable<'tcx> for GeneratorKind {
147147 * self
148148 }
149149
150- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , _: & mut V ) -> ControlFlow < ( ) , ( ) > {
150+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , _: & mut V ) -> ControlFlow < ( ) > {
151151 ControlFlow :: CONTINUE
152152 }
153153}
@@ -157,7 +157,7 @@ impl<'tcx> TypeFoldable<'tcx> for Place<'tcx> {
157157 Place { local : self . local . fold_with ( folder) , projection : self . projection . fold_with ( folder) }
158158 }
159159
160- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) , ( ) > {
160+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) > {
161161 self . local . visit_with ( visitor) ?;
162162 self . projection . visit_with ( visitor)
163163 }
@@ -169,7 +169,7 @@ impl<'tcx> TypeFoldable<'tcx> for &'tcx ty::List<PlaceElem<'tcx>> {
169169 folder. tcx ( ) . intern_place_elems ( & v)
170170 }
171171
172- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) , ( ) > {
172+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) > {
173173 self . iter ( ) . try_for_each ( |t| t. visit_with ( visitor) )
174174 }
175175}
@@ -219,7 +219,7 @@ impl<'tcx> TypeFoldable<'tcx> for Rvalue<'tcx> {
219219 }
220220 }
221221
222- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) , ( ) > {
222+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) > {
223223 use crate :: mir:: Rvalue :: * ;
224224 match * self {
225225 Use ( ref op) => op. visit_with ( visitor) ,
@@ -274,7 +274,7 @@ impl<'tcx> TypeFoldable<'tcx> for Operand<'tcx> {
274274 }
275275 }
276276
277- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) , ( ) > {
277+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) > {
278278 match * self {
279279 Operand :: Copy ( ref place) | Operand :: Move ( ref place) => place. visit_with ( visitor) ,
280280 Operand :: Constant ( ref c) => c. visit_with ( visitor) ,
@@ -298,7 +298,7 @@ impl<'tcx> TypeFoldable<'tcx> for PlaceElem<'tcx> {
298298 }
299299 }
300300
301- fn super_visit_with < Vs : TypeVisitor < ' tcx > > ( & self , visitor : & mut Vs ) -> ControlFlow < ( ) , ( ) > {
301+ fn super_visit_with < Vs : TypeVisitor < ' tcx > > ( & self , visitor : & mut Vs ) -> ControlFlow < ( ) > {
302302 use crate :: mir:: ProjectionElem :: * ;
303303
304304 match self {
@@ -313,7 +313,7 @@ impl<'tcx> TypeFoldable<'tcx> for Field {
313313 fn super_fold_with < F : TypeFolder < ' tcx > > ( & self , _: & mut F ) -> Self {
314314 * self
315315 }
316- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , _: & mut V ) -> ControlFlow < ( ) , ( ) > {
316+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , _: & mut V ) -> ControlFlow < ( ) > {
317317 ControlFlow :: CONTINUE
318318 }
319319}
@@ -322,7 +322,7 @@ impl<'tcx> TypeFoldable<'tcx> for GeneratorSavedLocal {
322322 fn super_fold_with < F : TypeFolder < ' tcx > > ( & self , _: & mut F ) -> Self {
323323 * self
324324 }
325- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , _: & mut V ) -> ControlFlow < ( ) , ( ) > {
325+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , _: & mut V ) -> ControlFlow < ( ) > {
326326 ControlFlow :: CONTINUE
327327 }
328328}
@@ -331,7 +331,7 @@ impl<'tcx, R: Idx, C: Idx> TypeFoldable<'tcx> for BitMatrix<R, C> {
331331 fn super_fold_with < F : TypeFolder < ' tcx > > ( & self , _: & mut F ) -> Self {
332332 self . clone ( )
333333 }
334- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , _: & mut V ) -> ControlFlow < ( ) , ( ) > {
334+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , _: & mut V ) -> ControlFlow < ( ) > {
335335 ControlFlow :: CONTINUE
336336 }
337337}
@@ -344,7 +344,7 @@ impl<'tcx> TypeFoldable<'tcx> for Constant<'tcx> {
344344 literal : self . literal . fold_with ( folder) ,
345345 }
346346 }
347- fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) , ( ) > {
347+ fn super_visit_with < V : TypeVisitor < ' tcx > > ( & self , visitor : & mut V ) -> ControlFlow < ( ) > {
348348 self . literal . visit_with ( visitor)
349349 }
350350}
0 commit comments