| commit | b27f7877030968414af4eb49c4b97d1a3b283bce | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sun Nov 15 15:07:04 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Sun Nov 15 15:11:21 2020 -0800 |
| tree | ce9f70a525c4057562eabfd6edb41d68730d7d5d | |
| parent | ed2c6bfc98bd697690652ae28639434efeed4461 [diff] [blame] |
Represent Pin<P> in syntax tree
diff --git a/syntax/mod.rs b/syntax/mod.rs index 94c2cc8..72e815b 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -170,10 +170,12 @@ } pub struct Ref { + pub pinned: bool, pub ampersand: Token![&], pub lifetime: Option<Lifetime>, pub mutability: Option<Token![mut]>, pub inner: Type, + pub pin_tokens: Option<(kw::Pin, Token![<], Token![>])>, } pub struct Slice {