diff options
| author | Philipp Krones <hello@philkrones.com> | 2022-12-01 18:29:38 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2022-12-01 18:29:38 +0100 |
| commit | d05e2865a05e86de9cfd283d4a6f88340346f48b (patch) | |
| tree | 58b078a75250ad3e23dd9b3022412a849f009e56 /clippy_lints/src/utils/internal_lints | |
| parent | 58100c014a815f7bc30d58f27e4283166146fbbb (diff) | |
Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyup
Diffstat (limited to 'clippy_lints/src/utils/internal_lints')
| -rw-r--r-- | clippy_lints/src/utils/internal_lints/msrv_attr_impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/internal_lints/msrv_attr_impl.rs b/clippy_lints/src/utils/internal_lints/msrv_attr_impl.rs index 1e994e3f2b1..9876a8a765c 100644 --- a/clippy_lints/src/utils/internal_lints/msrv_attr_impl.rs +++ b/clippy_lints/src/utils/internal_lints/msrv_attr_impl.rs @@ -41,7 +41,7 @@ impl LateLintPass<'_> for MsrvAttrImpl { .type_of(f.did) .walk() .filter(|t| matches!(t.unpack(), GenericArgKind::Type(_))) - .any(|t| match_type(cx, t.expect_ty(), &paths::RUSTC_VERSION)) + .any(|t| match_type(cx, t.expect_ty(), &paths::MSRV)) }); if !items.iter().any(|item| item.ident.name == sym!(enter_lint_attrs)); then { |
