From 0d8d05c07f8be4c90adf27141c0f64f76c318f64 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 27 Aug 2024 12:55:54 +1000 Subject: Add `warn(unreachable_pub)` to `rustc_feature`. --- compiler/rustc_feature/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_feature/src/lib.rs') diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs index dcc1c3202ea..adaaba3cd23 100644 --- a/compiler/rustc_feature/src/lib.rs +++ b/compiler/rustc_feature/src/lib.rs @@ -15,6 +15,7 @@ #![allow(internal_features)] #![doc(rust_logo)] #![feature(rustdoc_internals)] +#![warn(unreachable_pub)] // tidy-alphabetical-end mod accepted; -- cgit 1.4.1-3-g733a5