diff --git a/tests/lint/lib.rs b/tests/lint/lib.rs index 61d53f4..fbcf232 100644 --- a/tests/lint/lib.rs +++ b/tests/lint/lib.rs @@ -8,7 +8,12 @@ #![warn(nonstandard_style, rust_2018_idioms, unused)] // Note: This does not guarantee compatibility with forbidding these lints in the future. // If rustc adds a new lint, we may not be able to keep this. -#![forbid(future_incompatible, rust_2018_compatibility, rust_2021_compatibility)] +#![forbid( + future_incompatible, + rust_2018_compatibility, + rust_2021_compatibility, + rust_2024_compatibility +)] // lints forbidden as a part of future_incompatible, rust_2018_compatibility, and rust_2021_compatibility are not included in the list below. // elided_lifetimes_in_paths, explicit_outlives_requirements, unused_extern_crates: as a part of rust_2018_idioms // unsafe_op_in_unsafe_fn: requires Rust 1.52. and, we don't generate unsafe fn.