about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-10 08:23:16 +0000
committerbors <bors@rust-lang.org>2022-12-10 08:23:16 +0000
commitcbc70ff277dda8b7f227208eff789f1f68b6de5a (patch)
treebe989eef9d0e7345ca13369408e6c7420a45824e /compiler/rustc_interface/src
parenta000811405e6a3ca9b0b129c1177e78564e09666 (diff)
parent75ff5c7dd3c50371f77ae29d43f87343d44b3829 (diff)
downloadrust-cbc70ff277dda8b7f227208eff789f1f68b6de5a.tar.gz
rust-cbc70ff277dda8b7f227208eff789f1f68b6de5a.zip
Auto merge of #105357 - oli-obk:feeding, r=cjgillot,petrochenkov
Group some fields in a common struct so we only pass one reference instead of three

r? `@cjgillot`
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index f808c1438bf..89d9450cf4e 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -805,9 +805,9 @@ pub fn create_global_ctxt<'tcx>(
     });
 
     let ty::ResolverOutputs {
-        definitions,
         global_ctxt: untracked_resolutions,
         ast_lowering: untracked_resolver_for_lowering,
+        untracked,
     } = resolver_outputs;
 
     let gcx = sess.time("setup_global_ctxt", || {
@@ -817,8 +817,8 @@ pub fn create_global_ctxt<'tcx>(
                 lint_store,
                 arena,
                 hir_arena,
-                definitions,
                 untracked_resolutions,
+                untracked,
                 krate,
                 dep_graph,
                 queries.on_disk_cache.as_ref().map(OnDiskCache::as_dyn),