3
1
Prechádzať zdrojové kódy

Don't warn if variables produced by the code generator end up unused

Ian Goldberg 1 mesiac pred
rodič
commit
b855630aff
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      sigma-compiler-core/src/codegen.rs

+ 1 - 0
sigma-compiler-core/src/codegen.rs

@@ -569,6 +569,7 @@ impl CodeGen {
         };
         quote! {
             #[allow(non_snake_case)]
+            #[allow(unused_variables)]
             pub mod #proto_name {
                 use super::sigma_compiler;
                 use sigma_compiler::group::Group;