diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 13:25:40 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 13:25:40 +1000 |
| commit | 3aae994ca2d2316b54d04b77064034d5edab878f (patch) | |
| tree | 22ec51e675a17e5c0a73fe0bdfa9467ea40dcf5a /compiler | |
| parent | 5acf4e7b4b257993aee8a71f958dac2ba4ce38c7 (diff) | |
| download | rust-3aae994ca2d2316b54d04b77064034d5edab878f.tar.gz rust-3aae994ca2d2316b54d04b77064034d5edab878f.zip | |
Add `warn(unreachable_pub)` to `rustc_hir_pretty`.
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_hir_pretty/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir_pretty/src/lib.rs b/compiler/rustc_hir_pretty/src/lib.rs index cff21173f79..ac6707f9316 100644 --- a/compiler/rustc_hir_pretty/src/lib.rs +++ b/compiler/rustc_hir_pretty/src/lib.rs @@ -3,6 +3,7 @@ // tidy-alphabetical-start #![recursion_limit = "256"] +#![warn(unreachable_pub)] // tidy-alphabetical-end use std::cell::Cell; |
