From 0a3c097339d3448f8dcab9aa3c0a9b1345e5cebd Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Tue, 23 Mar 2021 12:08:50 -0300 Subject: Fix bug preventing multiple impl trait in a row --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 061345d..d8e5a15 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -294,6 +294,7 @@ pub fn impl_trait(item: TokenStream) -> TokenStream { trait_span = Some(tt.span()); in_generic = true; in_path = true; + in_impl = false; continue; } }, -- cgit 1.4.1