Sfoglia il codice sorgente

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

Ian Goldberg 1 mese fa
parent
commit
b855630aff
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;