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
This commit is contained in:
commit
19930f95f5
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ impl<'tcx> LateLintPass<'tcx> for ManualDivCeil {
|
|||
&& check_int_ty_and_feature(cx, div_lhs)
|
||||
&& check_int_ty_and_feature(cx, div_rhs)
|
||||
&& let ExprKind::Binary(inner_op, inner_lhs, inner_rhs) = div_lhs.kind
|
||||
&& self.msrv.meets(cx, msrvs::MANUAL_DIV_CEIL)
|
||||
&& self.msrv.meets(cx, msrvs::DIV_CEIL)
|
||||
{
|
||||
// (x + (y - 1)) / y
|
||||
if let ExprKind::Binary(sub_op, sub_lhs, sub_rhs) = inner_rhs.kind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue