about summary refs log tree commit diff
path: root/compiler/rustc_graphviz/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-08-27 12:58:29 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-08-27 12:58:29 +1000
commitfa1814099426482e08a5a9900017858a525e9304 (patch)
tree3fddb619543c051a4d43fb25b7d9dbe92a04bc44 /compiler/rustc_graphviz/src
parenta510813e03966582ca9f1a06cb62e1d009ed0278 (diff)
downloadrust-fa1814099426482e08a5a9900017858a525e9304.tar.gz
rust-fa1814099426482e08a5a9900017858a525e9304.zip
Add `warn(unreachable_pub)` to `rustc_graphviz`.
Diffstat (limited to 'compiler/rustc_graphviz/src')
-rw-r--r--compiler/rustc_graphviz/src/lib.rs1
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;