Remove warning about unused constants in modules.
This commit is contained in:
parent
6126f0cb10
commit
d57ce9c050
@ -282,6 +282,7 @@ impl Module {
|
||||
// Regenerate the module with the new content added.
|
||||
Ok(quote! {
|
||||
#(#mod_attrs)*
|
||||
#[allow(dead_code)]
|
||||
pub mod #mod_name {
|
||||
#(#orig_content)*
|
||||
#(#inner_modules)*
|
||||
|
Loading…
Reference in New Issue
Block a user