Remove implicit Continue
type
This commit is contained in:
parent
24e1a7e656
commit
9433eb83fe
30 changed files with 129 additions and 135 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue