1
Fork 0

resolve: Merge last_import_segment into Finalize

This commit is contained in:
Vadim Petrochenkov 2022-04-30 17:31:44 +03:00
parent ffedcec4e8
commit f0e0434feb
5 changed files with 16 additions and 44 deletions

View file

@ -604,7 +604,6 @@ impl<'a> Resolver<'a> {
parent_scope,
None,
force,
false,
None,
);
if let Err(Determinacy::Undetermined) = binding {
@ -710,7 +709,6 @@ impl<'a> Resolver<'a> {
&parent_scope,
Some(Finalize::new(ast::CRATE_NODE_ID, ident.span)),
true,
false,
None,
) {
Ok(binding) => {
@ -753,7 +751,6 @@ impl<'a> Resolver<'a> {
&parent_scope,
Some(Finalize::new(ast::CRATE_NODE_ID, ident.span)),
true,
false,
None,
);
}