Feed the features_query
instead of grabbing it from the session lazily
This commit is contained in:
parent
fbe2d5aad2
commit
d36db0d2a0
6 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue