about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/stable_hasher.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-06 13:04:33 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-07 10:19:12 +1000
commitdf8fe7dd34244b972cd9c4f7935fe8d6e1ea50db (patch)
treedb5ea636ac9ca002cc631b35a06c6619119674a9 /compiler/rustc_data_structures/src/stable_hasher.rs
parent9c9b568792ef20d8459c745345dd3e79b7c7fa8c (diff)
downloadrust-df8fe7dd34244b972cd9c4f7935fe8d6e1ea50db.tar.gz
rust-df8fe7dd34244b972cd9c4f7935fe8d6e1ea50db.zip
Remove `macro_use` from `stable_hasher`.
Normal `use` items are nicer.
Diffstat (limited to 'compiler/rustc_data_structures/src/stable_hasher.rs')
-rw-r--r--compiler/rustc_data_structures/src/stable_hasher.rs2
1 files changed, 2 insertions, 0 deletions
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);