Skip to content

Commit 36eac0c

Browse files
committed
fix: update lints
1 parent 862ac29 commit 36eac0c

File tree

3 files changed

+2
-21
lines changed

3 files changed

+2
-21
lines changed

clippy_lints/src/declared_lints.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
202202
crate::inherent_to_string::INHERENT_TO_STRING_SHADOW_DISPLAY_INFO,
203203
crate::init_numbered_fields::INIT_NUMBERED_FIELDS_INFO,
204204
crate::inline_fn_without_body::INLINE_FN_WITHOUT_BODY_INFO,
205+
crate::instant_subtraction::MANUAL_INSTANT_ELAPSED_INFO,
206+
crate::instant_subtraction::UNCHECKED_DURATION_SUBTRACTION_INFO,
205207
crate::int_plus_one::INT_PLUS_ONE_INFO,
206208
crate::invalid_upcast_comparisons::INVALID_UPCAST_COMPARISONS_INFO,
207209
crate::invalid_utf8_in_unchecked::INVALID_UTF8_IN_UNCHECKED_INFO,
@@ -250,7 +252,6 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
250252
crate::manual_async_fn::MANUAL_ASYNC_FN_INFO,
251253
crate::manual_bits::MANUAL_BITS_INFO,
252254
crate::manual_clamp::MANUAL_CLAMP_INFO,
253-
crate::manual_instant_elapsed::MANUAL_INSTANT_ELAPSED_INFO,
254255
crate::manual_is_ascii_check::MANUAL_IS_ASCII_CHECK_INFO,
255256
crate::manual_let_else::MANUAL_LET_ELSE_INFO,
256257
crate::manual_non_exhaustive::MANUAL_NON_EXHAUSTIVE_INFO,

clippy_lints/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
921921
store.register_late_pass(|_| Box::new(from_raw_with_void_ptr::FromRawWithVoidPtr));
922922
store.register_late_pass(|_| Box::new(suspicious_xor_used_as_pow::ConfusingXorAndPow));
923923
store.register_late_pass(move |_| Box::new(manual_is_ascii_check::ManualIsAsciiCheck::new(msrv)));
924-
store.register_late_pass(move || Box::new(unchecked_duration_subtraction::UncheckedDurationSubtraction::new(msrv)));
925924
// add lints here, do not remove this comment, it's used in `new_lint`
926925
}
927926

src/docs/unchecked_duration_subtraction.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)