We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Compiler::expansion
1 parent 9f5cd03 commit c8a0561Copy full SHA for c8a0561
compiler/rustc_driver/src/lib.rs
@@ -328,7 +328,7 @@ fn run_compiler(
328
}
329
330
331
- queries.expansion()?;
+ queries.global_ctxt()?;
332
if callbacks.after_expansion(compiler, queries) == Compilation::Stop {
333
return early_exit();
334
compiler/rustc_interface/src/queries.rs
@@ -157,7 +157,7 @@ impl<'tcx> Queries<'tcx> {
157
})
158
159
160
- pub fn crate_name(&self) -> Result<QueryResult<'_, Symbol>> {
+ fn crate_name(&self) -> Result<QueryResult<'_, Symbol>> {
161
self.crate_name.compute(|| {
162
Ok({
163
let parse_result = self.parse()?;
0 commit comments