diff options
| author | bors <bors@rust-lang.org> | 2021-04-26 21:25:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-26 21:25:19 +0000 |
| commit | f33d86df4efda60f48b8fa3c1cc2d88e35000601 (patch) | |
| tree | 26836a970f38c25cc6a0b422730abd6881aa4610 /clippy_utils/src/lib.rs | |
| parent | a362a4d1d0edb66aef186c1d27b28c60573078f4 (diff) | |
| parent | 3a8e759d8a6250b77c37fd43a13aab34b82bbfbb (diff) | |
Auto merge of #7137 - camsteffen:msrv-mod, r=llogiq
Refactor MSRV aliases changelog: Remove MSRV from `needless_question_mark` and change MSRV for `missing_const_for_fn` from 1.37.0 to 1.46.0. First [mentioned on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/Better.20MSRV.20testing.20idea/near/236215074). * Moves MSRV constants into `clippy_utils::msrvs`. Now they are named to represent a stabilized feature flag or library item that is required for a lint's suggestion. * `needless_question_mark` no longer has MSRV. Not needed since it does not suggest adding `?`. * `missing_const_for_fn` MSRV was changed from 1.37.0 to 1.46.0. This seems to be a past mistake.
Diffstat (limited to 'clippy_utils/src/lib.rs')
| -rw-r--r-- | clippy_utils/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_utils/src/lib.rs b/clippy_utils/src/lib.rs index b7017411927..9b60c92bca1 100644 --- a/clippy_utils/src/lib.rs +++ b/clippy_utils/src/lib.rs @@ -38,6 +38,7 @@ pub mod diagnostics; pub mod eager_or_lazy; pub mod higher; mod hir_utils; +pub mod msrvs; pub mod numeric_literal; pub mod paths; pub mod ptr; |
