X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_macros%2Fsrc%2Ftype_visitable.rs;h=1f95661ce9d5f54bb770a764c902a835bec7afe1;hb=e1bf3a13869ceef2bd9a62f3153ba2241b0047d7;hp=14e6aa6e0c17baec8b57e251f08a96980c71b11a;hpb=a377893da2cd7124e5a18c7116cbb70e16dd5541;p=rust.git diff --git a/compiler/rustc_macros/src/type_visitable.rs b/compiler/rustc_macros/src/type_visitable.rs index 14e6aa6e0c1..1f95661ce9d 100644 --- a/compiler/rustc_macros/src/type_visitable.rs +++ b/compiler/rustc_macros/src/type_visitable.rs @@ -26,7 +26,7 @@ fn visit_with<__V: ::rustc_middle::ty::visit::TypeVisitor<'tcx>>( __visitor: &mut __V ) -> ::std::ops::ControlFlow<__V::BreakTy> { match *self { #body_visit } - ::std::ops::ControlFlow::CONTINUE + ::std::ops::ControlFlow::Continue(()) } }, )