summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_macros/src/type_visitable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_macros/src/type_visitable.rs')
-rw-r--r--compiler/rustc_macros/src/type_visitable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/type_visitable.rs b/compiler/rustc_macros/src/type_visitable.rs
index 14e6aa6e0..1f95661ce 100644
--- a/compiler/rustc_macros/src/type_visitable.rs
+++ b/compiler/rustc_macros/src/type_visitable.rs
@@ -26,7 +26,7 @@ pub fn type_visitable_derive(mut s: synstructure::Structure<'_>) -> proc_macro2:
__visitor: &mut __V
) -> ::std::ops::ControlFlow<__V::BreakTy> {
match *self { #body_visit }
- ::std::ops::ControlFlow::CONTINUE
+ ::std::ops::ControlFlow::Continue(())
}
},
)