Remove output_filenames
field from TyCtxt and feed the query instead
This commit is contained in:
parent
33b6a7790e
commit
fbe2d5aad2
4 changed files with 4 additions and 9 deletions
|
@ -822,7 +822,6 @@ pub fn create_global_ctxt<'tcx>(
|
|||
queries.on_disk_cache.as_ref().map(OnDiskCache::as_dyn),
|
||||
queries.as_dyn(),
|
||||
rustc_query_impl::query_callbacks(arena),
|
||||
outputs,
|
||||
)
|
||||
})
|
||||
});
|
||||
|
@ -834,6 +833,7 @@ pub fn create_global_ctxt<'tcx>(
|
|||
tcx.arena.alloc(Steal::new((untracked_resolver_for_lowering, krate))),
|
||||
);
|
||||
feed.resolutions(tcx.arena.alloc(untracked_resolutions));
|
||||
feed.output_filenames(tcx.arena.alloc(std::sync::Arc::new(outputs)));
|
||||
let feed = tcx.feed_local_crate();
|
||||
feed.crate_name(crate_name);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue