diff --git a/tests/lint/lib.rs b/tests/lint/lib.rs index 3ddab70..11340fd 100644 --- a/tests/lint/lib.rs +++ b/tests/lint/lib.rs @@ -5,7 +5,7 @@ #![forbid(unsafe_code)] // for old compilers #![allow(unknown_lints)] -#![warn(nonstandard_style, rust_2018_idioms, unused)] +#![warn(nonstandard_style, rust_2018_idioms, unused, deprecated_safe)] // 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( @@ -21,6 +21,8 @@ // unused_crate_dependencies, must_not_suspend: unrelated // unsafe_code: checked in forbid_unsafe module #![warn( + ambiguous_negative_literals, + closure_returning_async_block, deprecated_in_future, dereferencing_mut_binding, fuzzy_provenance_casts, @@ -39,6 +41,7 @@ noop_method_call, private_bounds, private_interfaces, + redundant_imports, redundant_lifetimes, rust_2024_incompatible_pat, single_use_lifetimes,