From df8fe7dd34244b972cd9c4f7935fe8d6e1ea50db Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 6 May 2024 13:04:33 +1000 Subject: Remove `macro_use` from `stable_hasher`. Normal `use` items are nicer. --- compiler/rustc_data_structures/src/stable_hasher.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/rustc_data_structures/src/stable_hasher.rs') diff --git a/compiler/rustc_data_structures/src/stable_hasher.rs b/compiler/rustc_data_structures/src/stable_hasher.rs index 8418b4bbd47..b5bdf2e1790 100644 --- a/compiler/rustc_data_structures/src/stable_hasher.rs +++ b/compiler/rustc_data_structures/src/stable_hasher.rs @@ -296,6 +296,8 @@ macro_rules! impl_stable_traits_for_trivial_type { }; } +pub(crate) use impl_stable_traits_for_trivial_type; + impl_stable_traits_for_trivial_type!(i8); impl_stable_traits_for_trivial_type!(i16); impl_stable_traits_for_trivial_type!(i32); -- cgit 1.4.1-3-g733a5