about summary refs log tree commit diff
path: root/library/core/src/unicode/mod.rs
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-12-13 19:53:04 +0100
committerUrgau <urgau@numericable.fr>2025-01-20 18:35:32 +0100
commit8e615024844030e5148ee6d22efc5bcaa48c5311 (patch)
tree7855ce7297ce1f339b4d1c6cf6a3d49bc6633f48 /library/core/src/unicode/mod.rs
parent0f30662147edad559ef7f8ec57cc4d17f4ba5dc2 (diff)
downloadrust-8e615024844030e5148ee6d22efc5bcaa48c5311.tar.gz
rust-8e615024844030e5148ee6d22efc5bcaa48c5311.zip
core: add `#![warn(unreachable_pub)]`
Diffstat (limited to 'library/core/src/unicode/mod.rs')
-rw-r--r--library/core/src/unicode/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/core/src/unicode/mod.rs b/library/core/src/unicode/mod.rs
index 6066aa99216..49dbdeb1a6d 100644
--- a/library/core/src/unicode/mod.rs
+++ b/library/core/src/unicode/mod.rs
@@ -17,6 +17,8 @@ pub(crate) use unicode_data::uppercase::lookup as Uppercase;
 pub(crate) use unicode_data::white_space::lookup as White_Space;
 
 pub(crate) mod printable;
+
+#[allow(unreachable_pub)]
 mod unicode_data;
 
 /// The version of [Unicode](https://www.unicode.org/) that the Unicode parts of