diff options
| author | bors <bors@rust-lang.org> | 2023-01-13 13:57:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-13 13:57:21 +0000 |
| commit | efb631a09ccfa9b054ec81ec445436c7e1af9be0 (patch) | |
| tree | 11dc005487eb6f00fe965f5671607bf23722f206 | |
| parent | ac95db69fd8648b858140078c0ac3e5b6a879cac (diff) | |
| parent | 0c48b5a223a0cb8ef431eda4e57a172f678ec12d (diff) | |
| download | rust-efb631a09ccfa9b054ec81ec445436c7e1af9be0.tar.gz rust-efb631a09ccfa9b054ec81ec445436c7e1af9be0.zip | |
Auto merge of #106776 - oli-obk:om_nom_nom_nom_nom, r=cjgillot
Feed a bunch of queries instead of tracking fields on TyCtxt r? `@cjgillot` pulled out of https://github.com/rust-lang/rust/pull/105462
| -rw-r--r-- | clippy_lints/src/attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/attrs.rs b/clippy_lints/src/attrs.rs index 0710ac0bb0a..751c262673b 100644 --- a/clippy_lints/src/attrs.rs +++ b/clippy_lints/src/attrs.rs @@ -472,7 +472,7 @@ fn check_clippy_lint_names(cx: &LateContext<'_>, name: Symbol, items: &[NestedMe fn check_lint_reason(cx: &LateContext<'_>, name: Symbol, items: &[NestedMetaItem], attr: &'_ Attribute) { // Check for the feature - if !cx.tcx.sess.features_untracked().lint_reasons { + if !cx.tcx.features().lint_reasons { return; } |
