diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-12-07 12:14:06 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-01-16 14:46:44 +0000 |
| commit | c8a056132144b60f81cd74d062f8f4ba32dfa785 (patch) | |
| tree | 324fdddc29c5a5a46f19025a028c88500ccdaa17 /compiler/rustc_driver | |
| parent | 9f5cd0315386e761beae8afd07df94e42a4db154 (diff) | |
| download | rust-c8a056132144b60f81cd74d062f8f4ba32dfa785.tar.gz rust-c8a056132144b60f81cd74d062f8f4ba32dfa785.zip | |
Avoid one more call site to `Compiler::expansion`
Diffstat (limited to 'compiler/rustc_driver')
| -rw-r--r-- | compiler/rustc_driver/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs index 66dadf97b19..98c4383b62e 100644 --- a/compiler/rustc_driver/src/lib.rs +++ b/compiler/rustc_driver/src/lib.rs @@ -328,7 +328,7 @@ fn run_compiler( } } - queries.expansion()?; + queries.global_ctxt()?; if callbacks.after_expansion(compiler, queries) == Compilation::Stop { return early_exit(); } |
