Skip to content

Commit

Permalink
Warn on rustc::internal lints (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
BD103 authored Oct 10, 2024
1 parent 93ac9d0 commit 01ccce3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bevy_lint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#![feature(rustc_private)]
// Allows chaining `if let` multiple times using `&&`.
#![feature(let_chains)]
// Warn on internal `rustc` lints that check for poor usage of internal compiler APIs.
#![warn(rustc::internal)]

// This is a list of every single `rustc` crate used within this library. If you need another, add
// it here!
Expand Down

0 comments on commit 01ccce3

Please sign in to comment.