summary refs log tree commit diff
path: root/src/libcore/hash
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2019-08-09 21:15:00 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2019-08-17 08:59:36 +0100
commit6ee60af1ab6981e59eee4dd08bd508b4ae52c2e2 (patch)
treeb5b55debec5e38e615cabb7787246b6c2e26ffe2 /src/libcore/hash
parent497b50206229c28b89150960e2193964d02e8ef6 (diff)
downloadrust-6ee60af1ab6981e59eee4dd08bd508b4ae52c2e2.tar.gz
rust-6ee60af1ab6981e59eee4dd08bd508b4ae52c2e2.zip
Make built-in derives opaque macros
Diffstat (limited to 'src/libcore/hash')
-rw-r--r--src/libcore/hash/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/hash/mod.rs b/src/libcore/hash/mod.rs
index b3971191123..bf3daa32840 100644
--- a/src/libcore/hash/mod.rs
+++ b/src/libcore/hash/mod.rs
@@ -202,7 +202,7 @@ pub trait Hash {
 pub(crate) mod macros {
     /// Derive macro generating an impl of the trait `Hash`.
     #[rustc_builtin_macro]
-    #[rustc_macro_transparency = "semitransparent"]
+    #[cfg_attr(boostrap_stdarch_ignore_this, rustc_macro_transparency = "semitransparent")]
     #[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
     #[allow_internal_unstable(core_intrinsics)]
     pub macro Hash($item:item) { /* compiler built-in */ }