diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 15:13:12 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 20:13:06 +1000 |
| commit | cac04a1cb97f1339ab866051f7048786298e66b7 (patch) | |
| tree | a0534cb7cd34bb5db084ab7810e2ab3dbb94ee85 /compiler/rustc_parse/src/lib.rs | |
| parent | 46ea798a94a9b5924518d64435e884f9d729b456 (diff) | |
| download | rust-cac04a1cb97f1339ab866051f7048786298e66b7.tar.gz rust-cac04a1cb97f1339ab866051f7048786298e66b7.zip | |
Add `warn(unreachable_pub)` to `rustc_parser`.
Diffstat (limited to 'compiler/rustc_parse/src/lib.rs')
| -rw-r--r-- | compiler/rustc_parse/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/lib.rs b/compiler/rustc_parse/src/lib.rs index 37079271493..788bb732ef7 100644 --- a/compiler/rustc_parse/src/lib.rs +++ b/compiler/rustc_parse/src/lib.rs @@ -11,6 +11,7 @@ #![feature(if_let_guard)] #![feature(iter_intersperse)] #![feature(let_chains)] +#![warn(unreachable_pub)] // tidy-alphabetical-end use std::path::Path; |
