Sfoglia il codice sorgente

fix non_camel_case_types warning

Evan Almloff 2 anni fa
parent
commit
3d8bceb77f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      packages/router-macro/src/lib.rs

+ 1 - 0
packages/router-macro/src/lib.rs

@@ -231,6 +231,7 @@ impl RouteEnum {
         quote! {
             #(#type_defs)*
 
+            #[allow(non_camel_case_types)]
             #[derive(Debug, PartialEq)]
             pub enum #match_error_name {
                 #(#error_variants),*