diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 12:58:29 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 12:58:29 +1000 |
| commit | fa1814099426482e08a5a9900017858a525e9304 (patch) | |
| tree | 3fddb619543c051a4d43fb25b7d9dbe92a04bc44 /compiler/rustc_graphviz/src/lib.rs | |
| parent | a510813e03966582ca9f1a06cb62e1d009ed0278 (diff) | |
| download | rust-fa1814099426482e08a5a9900017858a525e9304.tar.gz rust-fa1814099426482e08a5a9900017858a525e9304.zip | |
Add `warn(unreachable_pub)` to `rustc_graphviz`.
Diffstat (limited to 'compiler/rustc_graphviz/src/lib.rs')
| -rw-r--r-- | compiler/rustc_graphviz/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_graphviz/src/lib.rs b/compiler/rustc_graphviz/src/lib.rs index c8f8fd5be02..b5774f64b66 100644 --- a/compiler/rustc_graphviz/src/lib.rs +++ b/compiler/rustc_graphviz/src/lib.rs @@ -277,6 +277,7 @@ )] #![doc(rust_logo)] #![feature(rustdoc_internals)] +#![warn(unreachable_pub)] // tidy-alphabetical-end use std::borrow::Cow; |
