diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-07-06 21:19:05 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-16 08:46:41 +1000 |
| commit | a6b2880d5a3f8faec20b96014792b21ae2c5bfbb (patch) | |
| tree | c1bd2d16169abd6518d34129aaaa4ca4ca4b8456 /compiler/rustc_ast_passes/src/lib.rs | |
| parent | ea014b4d75d63c2c9d19a67abae5309790186525 (diff) | |
| download | rust-a6b2880d5a3f8faec20b96014792b21ae2c5bfbb.tar.gz rust-a6b2880d5a3f8faec20b96014792b21ae2c5bfbb.zip | |
Add `warn(unreachable_pub)` to `rustc_ast_passes`.
Diffstat (limited to 'compiler/rustc_ast_passes/src/lib.rs')
| -rw-r--r-- | compiler/rustc_ast_passes/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast_passes/src/lib.rs b/compiler/rustc_ast_passes/src/lib.rs index 1f4bcd59afa..88c6bde3106 100644 --- a/compiler/rustc_ast_passes/src/lib.rs +++ b/compiler/rustc_ast_passes/src/lib.rs @@ -12,6 +12,7 @@ #![feature(iter_is_partitioned)] #![feature(let_chains)] #![feature(rustdoc_internals)] +#![warn(unreachable_pub)] // tidy-alphabetical-end pub mod ast_validation; |
