about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-10-16 21:12:34 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-10-20 18:32:29 +0200
commitbd5c10767246dc00b2350b1005ee4b857ce2fe22 (patch)
tree29881343bf4cafe17a6a5a74b6f678c9f88e4f7c /compiler/rustc_interface/src
parent602d3cbce3e6227ad7cd5c009c868c9e405a9f32 (diff)
downloadrust-bd5c10767246dc00b2350b1005ee4b857ce2fe22.tar.gz
rust-bd5c10767246dc00b2350b1005ee4b857ce2fe22.zip
Build jump table at runtime.
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 8bd6ed98973..eea32083568 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -838,7 +838,7 @@ pub fn create_global_ctxt<'tcx>(
                 dep_graph,
                 queries.on_disk_cache.as_ref().map(OnDiskCache::as_dyn),
                 queries.as_dyn(),
-                &rustc_query_impl::QUERY_CALLBACKS,
+                rustc_query_impl::query_callbacks(arena),
                 crate_name,
                 outputs,
             )