Remove implicit Continue type

This commit is contained in:
LeSeulArtichaut 2020-10-25 11:50:56 +01:00
parent 4a06145ced
commit 1c8c3d14ef

View File

@ -559,7 +559,7 @@ fn visit_terminator(&mut self, terminator: &mir::Terminator<'_>, _loc: mir::Loca
struct ContainsRegion;
impl TypeVisitor<'_> for ContainsRegion {
fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow<(), ()> {
fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow<()> {
ControlFlow::BREAK
}
}