| commit | c455e97405694858cc839b519e8eec97b76d12ae | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Thu Dec 31 14:40:23 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Thu Dec 31 15:38:19 2020 -0800 |
| tree | 2615471e28512a2dddbd9e467102f31b6135f3f5 | |
| parent | 0acb2d63373576f3cdb5be529b2a66873659f221 [diff] [blame] |
Parse generic params on impl block
diff --git a/syntax/tokens.rs b/syntax/tokens.rs index 1c7c5bc..dd5be01 100644 --- a/syntax/tokens.rs +++ b/syntax/tokens.rs
@@ -192,12 +192,14 @@ fn to_tokens(&self, tokens: &mut TokenStream) { let Impl { impl_token, + generics, negative: _, ty, brace_token, negative_token, } = self; impl_token.to_tokens(tokens); + generics.to_tokens(tokens); negative_token.to_tokens(tokens); ty.to_tokens(tokens); brace_token.surround(tokens, |_tokens| {});