Skip to content

Commit

Permalink
tests: Update lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 4, 2024
1 parent f9a94b0 commit 13fe844
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/lint/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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,
Expand All @@ -39,6 +41,7 @@
noop_method_call,
private_bounds,
private_interfaces,
redundant_imports,
redundant_lifetimes,
rust_2024_incompatible_pat,
single_use_lifetimes,
Expand Down

0 comments on commit 13fe844

Please sign in to comment.