Skip to content

Commit 7eb4b93

Browse files
committed
refactor: update MSRV constant name to follow naming convention
1 parent a903ca6 commit 7eb4b93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/unnecessary_reserve.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl UnnecessaryReserve {
4848

4949
impl<'tcx> LateLintPass<'tcx> for UnnecessaryReserve {
5050
fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) {
51-
if !self.msrv.meets(msrvs::CHECK_UNNECESSARY_RESERVE) {
51+
if !self.msrv.meets(msrvs::EXTEND_IMPLICIT_RESERVE) {
5252
return;
5353
}
5454

clippy_utils/src/msrvs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ macro_rules! msrv_aliases {
2020
// names may refer to stabilized feature flags or library items
2121
msrv_aliases! {
2222
1,65,0 { LET_ELSE }
23-
1,62,0 { BOOL_THEN_SOME, DEFAULT_ENUM_ATTRIBUTE, CHECK_UNNECESSARY_RESERVE }
23+
1,62,0 { BOOL_THEN_SOME, DEFAULT_ENUM_ATTRIBUTE, EXTEND_IMPLICIT_RESERVE }
2424
1,58,0 { FORMAT_ARGS_CAPTURE, PATTERN_TRAIT_CHAR_ARRAY }
2525
1,55,0 { SEEK_REWIND }
2626
1,53,0 { OR_PATTERNS, MANUAL_BITS, BTREE_MAP_RETAIN, BTREE_SET_RETAIN, ARRAY_INTO_ITERATOR }

0 commit comments

Comments
 (0)