1
Fork 0

Remove output_filenames field from TyCtxt and feed the query instead

This commit is contained in:
Oli Scherer 2022-12-05 17:00:26 +00:00
parent 33b6a7790e
commit fbe2d5aad2
4 changed files with 4 additions and 9 deletions

View file

@ -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);
});