1
Fork 0

Feed the features_query instead of grabbing it from the session lazily

This commit is contained in:
Oli Scherer 2022-12-05 17:52:17 +00:00
parent fbe2d5aad2
commit d36db0d2a0
6 changed files with 5 additions and 5 deletions

View file

@ -834,6 +834,7 @@ pub fn create_global_ctxt<'tcx>(
);
feed.resolutions(tcx.arena.alloc(untracked_resolutions));
feed.output_filenames(tcx.arena.alloc(std::sync::Arc::new(outputs)));
feed.features_query(sess.features_untracked());
let feed = tcx.feed_local_crate();
feed.crate_name(crate_name);
});