Refactor proc-macro attribute parsing (#1369)

* Refactor proc-macro attribute parsing

* Remove `#[allow(warnings)]` which was accidentally committed

* Change span for "cannot use `rejection` without `via`" error for enums

* fix test
This commit is contained in:
David Pedersen
2022-09-12 20:10:58 +02:00
committed by GitHub
parent 54d8439e35
commit 8da69a98fc
5 changed files with 156 additions and 177 deletions
+1
View File
@@ -47,6 +47,7 @@ use proc_macro::TokenStream;
use quote::{quote, ToTokens};
use syn::parse::Parse;
mod attr_parsing;
mod debug_handler;
mod from_request;
mod typed_path;