Skip to content

Commit 19930f9

Browse files
authored
rename the MSRV alias MANUAL_DIV_CEIL to DIV_CEIL (#14329)
I renamed the MSRV alias `MANUAL_DIV_CEIL` to `DIV_CEIL` in #14263, as MSRV aliases should represent their capability rather than the lint name. However, it seems this change was mistakenly overwritten in #14022. changelog: none
2 parents cee9abf + 6537f93 commit 19930f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/manual_div_ceil.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl<'tcx> LateLintPass<'tcx> for ManualDivCeil {
6464
&& check_int_ty_and_feature(cx, div_lhs)
6565
&& check_int_ty_and_feature(cx, div_rhs)
6666
&& let ExprKind::Binary(inner_op, inner_lhs, inner_rhs) = div_lhs.kind
67-
&& self.msrv.meets(cx, msrvs::MANUAL_DIV_CEIL)
67+
&& self.msrv.meets(cx, msrvs::DIV_CEIL)
6868
{
6969
// (x + (y - 1)) / y
7070
if let ExprKind::Binary(sub_op, sub_lhs, sub_rhs) = inner_rhs.kind

clippy_utils/src/msrvs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ msrv_aliases! {
3333
1,76,0 { PTR_FROM_REF, OPTION_RESULT_INSPECT }
3434
1,75,0 { OPTION_AS_SLICE }
3535
1,74,0 { REPR_RUST, IO_ERROR_OTHER }
36-
1,73,0 { MANUAL_DIV_CEIL }
36+
1,73,0 { DIV_CEIL }
3737
1,71,0 { TUPLE_ARRAY_CONVERSIONS, BUILD_HASHER_HASH_ONE }
3838
1,70,0 { OPTION_RESULT_IS_VARIANT_AND, BINARY_HEAP_RETAIN }
3939
1,68,0 { PATH_MAIN_SEPARATOR_STR }

0 commit comments

Comments
 (0)