Remove warning about unused constants in modules.
This commit is contained in:
committed by
J Henry Waugh
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)*
|
||||||
|
Reference in New Issue
Block a user