From cb3f43569933111c99222e1d8d87d529117f0bd6 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Sat, 6 Jul 2024 21:35:12 +1000 Subject: [PATCH] Don't add `warn(unreachable_pub)` to `rustc_baked_icu`. But explain why. --- compiler/rustc_baked_icu_data/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_baked_icu_data/src/lib.rs b/compiler/rustc_baked_icu_data/src/lib.rs index e964a709757..f86a9db61c6 100644 --- a/compiler/rustc_baked_icu_data/src/lib.rs +++ b/compiler/rustc_baked_icu_data/src/lib.rs @@ -25,6 +25,7 @@ #![allow(internal_features)] #![doc(rust_logo)] #![feature(rustdoc_internals)] +// #![warn(unreachable_pub)] // don't use because this crate is mostly generated code // tidy-alphabetical-end mod data {