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.
|
// Regenerate the module with the new content added.
|
||||||
Ok(quote! {
|
Ok(quote! {
|
||||||
#(#mod_attrs)*
|
#(#mod_attrs)*
|
||||||
|
#[allow(dead_code)]
|
||||||
pub mod #mod_name {
|
pub mod #mod_name {
|
||||||
#(#orig_content)*
|
#(#orig_content)*
|
||||||
#(#inner_modules)*
|
#(#inner_modules)*
|
||||||
|
Loading…
Reference in New Issue
Block a user