Remove implicit Continue type
This commit is contained in:
@@ -62,7 +62,7 @@ macro_rules! CloneTypeFoldableImpls {
|
||||
fn super_visit_with<F: $crate::ty::fold::TypeVisitor<$tcx>>(
|
||||
&self,
|
||||
_: &mut F)
|
||||
-> ::std::ops::ControlFlow<(), ()>
|
||||
-> ::std::ops::ControlFlow<()>
|
||||
{
|
||||
::std::ops::ControlFlow::CONTINUE
|
||||
}
|
||||
@@ -105,7 +105,7 @@ macro_rules! EnumTypeFoldableImpl {
|
||||
fn super_visit_with<V: $crate::ty::fold::TypeVisitor<$tcx>>(
|
||||
&self,
|
||||
visitor: &mut V,
|
||||
) -> ::std::ops::ControlFlow<(), ()> {
|
||||
) -> ::std::ops::ControlFlow<()> {
|
||||
EnumTypeFoldableImpl!(@VisitVariants(self, visitor) input($($variants)*) output())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user