Move the resolver into a query
This commit is contained in:
parent
37e2f4f487
commit
c3522d0637
8 changed files with 54 additions and 31 deletions
|
@ -320,7 +320,7 @@ fn run_compiler(
|
|||
}
|
||||
|
||||
// Make sure name resolution and macro expansion is run.
|
||||
queries.global_ctxt()?;
|
||||
queries.global_ctxt()?.enter(|tcx| tcx.resolver_for_lowering(()));
|
||||
|
||||
if callbacks.after_expansion(compiler, queries) == Compilation::Stop {
|
||||
return early_exit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue