| commit | 028d3d23f9c11be9c8d0a791dba36f905698f294 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sun Nov 29 18:09:52 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Sun Nov 29 21:50:54 2020 -0800 |
| tree | 4e7dc74ac109dea11847cb366a376e0ea62c00d3 | |
| parent | 76dfe624d0b61b3c4cbfd7a73e702d5d2842665b [diff] [blame] |
Parse negative impls
diff --git a/syntax/tokens.rs b/syntax/tokens.rs index 377fd4c..edbf818 100644 --- a/syntax/tokens.rs +++ b/syntax/tokens.rs
@@ -148,6 +148,7 @@ impl ToTokens for Impl { fn to_tokens(&self, tokens: &mut TokenStream) { self.impl_token.to_tokens(tokens); + self.negative_token.to_tokens(tokens); self.ty.to_tokens(tokens); self.brace_token.surround(tokens, |_tokens| {}); }