Skip to content

Commit 72ab91d

Browse files
committed
fix: add extract_msrv_attr call to instan_subtraction lint pass
1 parent 912dc91 commit 72ab91d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clippy_lints/src/instant_subtraction.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ impl LateLintPass<'_> for InstantSubtraction {
112112
}
113113
}
114114
}
115+
116+
extract_msrv_attr!(LateContext);
115117
}
116118

117119
fn is_instant_now_call(cx: &LateContext<'_>, expr_block: &'_ Expr<'_>) -> bool {

0 commit comments

Comments
 (0)