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

@ -12,7 +12,7 @@ pub(crate) fn provide(providers: &mut Providers) {
}
fn check_expectations(tcx: TyCtxt<'_>, tool_filter: Option<Symbol>) {
if !tcx.sess.features_untracked().enabled(sym::lint_reasons) {
if !tcx.features().enabled(sym::lint_reasons) {
return;
}