| commit | 62d360ccaf3b73ec145adebee53a5d7b227560cf | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Wed Apr 22 16:26:21 2020 -0700 |
| committer | David Tolnay <dtolnay@gmail.com> | Wed Apr 22 16:26:21 2020 -0700 |
| tree | 823f214cd8cbf4f234d4be12516d6ade0498ccc7 | |
| parent | 0bd50fa93139da55d2c0b13aaa604805e0da2e76 [diff] [blame] |
Preserve whether Receiver was shorthand for error reporting
diff --git a/syntax/mod.rs b/syntax/mod.rs index cf811cf..ab5cecc 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -80,6 +80,7 @@ pub mutability: Option<Token![mut]>, pub var: Token![self], pub ty: Ident, + pub shorthand: bool, } pub enum Type {