fix: add extract_msrv_attr call to instan_subtraction lint pass

This commit is contained in:
Nadir Fejzic 2022-11-14 22:25:56 +01:00
parent 912dc919af
commit 72ab91d806

View file

@ -112,6 +112,8 @@ impl LateLintPass<'_> for InstantSubtraction {
}
}
}
extract_msrv_attr!(LateContext);
}
fn is_instant_now_call(cx: &LateContext<'_>, expr_block: &'_ Expr<'_>) -> bool {