diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 12:59:20 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 12:59:20 +1000 |
| commit | bffa2244edd9cc210c7cd267fbacb77935cceaa6 (patch) | |
| tree | 85ef49f7c0c1a72f5716b1fa0b90f3b75e3eb708 /compiler | |
| parent | fa1814099426482e08a5a9900017858a525e9304 (diff) | |
| download | rust-bffa2244edd9cc210c7cd267fbacb77935cceaa6.tar.gz rust-bffa2244edd9cc210c7cd267fbacb77935cceaa6.zip | |
Add `warn(unreachable_pub)` to `rustc_hir`.
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_hir/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir/src/lib.rs b/compiler/rustc_hir/src/lib.rs index e517c3fd07a..c1a4a4497c7 100644 --- a/compiler/rustc_hir/src/lib.rs +++ b/compiler/rustc_hir/src/lib.rs @@ -10,6 +10,7 @@ #![feature(never_type)] #![feature(rustc_attrs)] #![feature(variant_count)] +#![warn(unreachable_pub)] // tidy-alphabetical-end extern crate self as rustc_hir; |
