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
+2
View File
@@ -112,6 +112,8 @@ fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'_ Expr<'_>) {
}
}
}
extract_msrv_attr!(LateContext);
}
fn is_instant_now_call(cx: &LateContext<'_>, expr_block: &'_ Expr<'_>) -> bool {