diff options
Diffstat (limited to 'enumn/src/lib.rs')
-rw-r--r-- | enumn/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/enumn/src/lib.rs b/enumn/src/lib.rs index f4c30a7..b928b11 100644 --- a/enumn/src/lib.rs +++ b/enumn/src/lib.rs @@ -182,6 +182,7 @@ fn testable_derive(input: DeriveInput) -> proc_macro2::TokenStream { }); quote! { + #[allow(non_upper_case_globals)] impl #ident { pub #signature -> Option<Self> { struct discriminant; |