Skip to content

Commit b35b187

Browse files
authored
Rollup merge of #149454 - petrochenkov:openapi0, r=eholk
resolve: Identifier resolution refactorings Mostly splitting large functions into smaller functions, including some parts from #144131, there should be no functional changes. See individual commits.
2 parents c93801c + c91b6ca commit b35b187

File tree

3 files changed

+542
-405
lines changed

3 files changed

+542
-405
lines changed

compiler/rustc_resolve/src/diagnostics.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
use std::ops::ControlFlow;
2+
13
use itertools::Itertools as _;
24
use rustc_ast::visit::{self, Visitor};
35
use rustc_ast::{
@@ -1261,7 +1263,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
12611263
}
12621264
}
12631265

1264-
None::<()>
1266+
ControlFlow::<()>::Continue(())
12651267
});
12661268
}
12671269

0 commit comments

Comments
 (0)