We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a904c51 commit 8026a1aCopy full SHA for 8026a1a
src/lazy_static.rs
@@ -108,13 +108,15 @@ macro_rules! lazy_static {
108
#[allow(non_camel_case_types)]
109
#[allow(dead_code)]
110
pub struct $N {__private_field: ()}
111
+ #[allow(dead_code)]
112
pub static $N: $N = $N {__private_field: ()};
113
};
114
(MAKE TY PRIV $N:ident) => {
115
#[allow(missing_copy_implementations)]
116
117
118
struct $N {__private_field: ()}
119
120
static $N: $N = $N {__private_field: ()};
121
122
() => ()
0 commit comments