Fix cfg on test_systemtime_overflow

This commit is contained in:
David Tolnay 2024-05-07 16:53:53 -07:00
parent cc865ac523
commit 20306f493a
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1524,7 +1524,7 @@ fn test_systemtime_overflow_struct() {
); );
} }
#[cfg(systemtime_checked_add)] #[cfg(not(no_systemtime_checked_add))]
#[test] #[test]
fn test_systemtime_overflow() { fn test_systemtime_overflow() {
assert_de_tokens_error::<SystemTime>( assert_de_tokens_error::<SystemTime>(