diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-12-05 17:00:26 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-01-12 17:14:17 +0000 |
| commit | fbe2d5aad2912e718541443357784cea4b65a0b8 (patch) | |
| tree | cfe5e42cb29f4a4b5326dfc5cfd2d9dd94946ffd /compiler/rustc_interface/src/passes.rs | |
| parent | 33b6a7790eb6de10f0d240ec92008e7faa1da44c (diff) | |
| download | rust-fbe2d5aad2912e718541443357784cea4b65a0b8.tar.gz rust-fbe2d5aad2912e718541443357784cea4b65a0b8.zip | |
Remove `output_filenames` field from TyCtxt and feed the query instead
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 62441646b75..8d9e1ee7c2c 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -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); }); |
