Skip to content

Commit 988aa35

Browse files
committed
Revert "We need an additional dead_code disable, since Rust has gotten better about warnings recently"
This reverts commit 8026a1a.
1 parent 8cf2e9a commit 988aa35

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lazy_static.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,13 @@ macro_rules! lazy_static {
108108
#[allow(non_camel_case_types)]
109109
#[allow(dead_code)]
110110
pub struct $N {__private_field: ()}
111-
#[allow(dead_code)]
112111
pub static $N: $N = $N {__private_field: ()};
113112
};
114113
(MAKE TY PRIV $N:ident) => {
115114
#[allow(missing_copy_implementations)]
116115
#[allow(non_camel_case_types)]
117116
#[allow(dead_code)]
118117
struct $N {__private_field: ()}
119-
#[allow(dead_code)]
120118
static $N: $N = $N {__private_field: ()};
121119
};
122120
() => ()

0 commit comments

Comments
 (0)