@@ -113,6 +113,10 @@ pub fn for_each_expr_with_closures<'tcx, B, C: Continue>(
113
113
f : F ,
114
114
res : Option < B > ,
115
115
}
116
+ // FIXME: more details in #106930
117
+ impl < ' tcx , B , F > !Send for V < ' tcx , B , F > { }
118
+ impl < ' tcx , B , F > !Sync for V < ' tcx , B , F > { }
119
+
116
120
impl < ' tcx , B , C : Continue , F : FnMut ( & ' tcx Expr < ' tcx > ) -> ControlFlow < B , C > > Visitor < ' tcx > for V < ' tcx , B , F > {
117
121
type NestedFilter = nested_filter:: OnlyBodies ;
118
122
fn nested_visit_map ( & mut self ) -> Self :: Map {
@@ -513,6 +517,10 @@ pub fn for_each_local_use_after_expr<'tcx, B>(
513
517
res : ControlFlow < B > ,
514
518
f : F ,
515
519
}
520
+ // FIXME: more details in #106930
521
+ impl < ' cx , ' tcx , B , F > !Send for V < ' cx , ' tcx , B , F > { }
522
+ impl < ' cx , ' tcx , B , F > !Sync for V < ' cx , ' tcx , B , F > { }
523
+
516
524
impl < ' cx , ' tcx , F : FnMut ( & ' tcx Expr < ' tcx > ) -> ControlFlow < B > , B > Visitor < ' tcx > for V < ' cx , ' tcx , F , B > {
517
525
type NestedFilter = nested_filter:: OnlyBodies ;
518
526
fn nested_visit_map ( & mut self ) -> Self :: Map {
@@ -694,6 +702,10 @@ pub fn for_each_local_assignment<'tcx, B>(
694
702
res : ControlFlow < B > ,
695
703
f : F ,
696
704
}
705
+ // FIXME: more details in #106930
706
+ impl < ' cx , ' tcx , F , B > !Send for V < ' cx , ' tcx , F , B > { }
707
+ impl < ' cx , ' tcx , F , B > !Sync for V < ' cx , ' tcx , F , B > { }
708
+
697
709
impl < ' cx , ' tcx , F : FnMut ( & ' tcx Expr < ' tcx > ) -> ControlFlow < B > , B > Visitor < ' tcx > for V < ' cx , ' tcx , F , B > {
698
710
type NestedFilter = nested_filter:: OnlyBodies ;
699
711
fn nested_visit_map ( & mut self ) -> Self :: Map {
0 commit comments