diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index d8e5a15..9473af0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -295,6 +295,7 @@ pub fn impl_trait(item: TokenStream) -> TokenStream { in_generic = true; in_path = true; in_impl = false; + has_injected_generics = false; continue; } }, @@ -341,5 +342,6 @@ pub fn impl_trait(item: TokenStream) -> TokenStream { drop(where_bounds); //eprintln!("attributes: {:#?}", attributes); //eprintln!("OUTPUT: {:#?}", output); + //eprintln!("OUTPUT: {}", (&output).into_iter().cloned().collect::<TokenStream>()); attributes.into_iter().chain(output.into_iter()).collect() } |