We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc51ed6 + e3b8efe commit 844d93bCopy full SHA for 844d93b
src/lib.rs
@@ -123,7 +123,7 @@ pub mod lazy;
123
#[doc(hidden)]
124
pub use core::ops::Deref as __Deref;
125
126
-#[macro_export]
+#[macro_export(local_inner_macros)]
127
128
macro_rules! __lazy_static_internal {
129
// optional visibility restrictions are wrapped in `()` to allow for
@@ -170,7 +170,7 @@ macro_rules! __lazy_static_internal {
170
() => ()
171
}
172
173
174
macro_rules! lazy_static {
175
($(#[$attr:meta])* static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
176
// use `()` to explicitly forward the information about private items
0 commit comments