mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
fix: add extract_msrv_attr call to instan_subtraction lint pass
This commit is contained in:
parent
912dc919af
commit
72ab91d806
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@ impl LateLintPass<'_> for InstantSubtraction {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extract_msrv_attr!(LateContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_instant_now_call(cx: &LateContext<'_>, expr_block: &'_ Expr<'_>) -> bool {
|
fn is_instant_now_call(cx: &LateContext<'_>, expr_block: &'_ Expr<'_>) -> bool {
|
||||||
|
|
Loading…
Reference in a new issue