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 Apr 25, 2024
1 parent 3415e60 commit af47c00
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/lint/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit af47c00

Please sign in to comment.