| commit | c94035a685db444be112b18e2e3cd47d309340bf | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sun Nov 15 16:49:18 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Sun Nov 15 16:57:18 2020 -0800 |
| tree | 0229ddb4ca912a5e1f6be3b0ac6c1ba94a4d3ffb | |
| parent | c967384fcfd9f6288a0d3ef31b68d53156c3285a [diff] [blame] |
Parse pinned UniquePtr
diff --git a/syntax/mod.rs b/syntax/mod.rs index 51068c9..853db90 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -165,10 +165,12 @@ } pub struct Ty1 { + pub pinned: bool, pub name: Ident, pub langle: Token![<], pub inner: Type, pub rangle: Token![>], + pub pin_tokens: Option<(kw::Pin, Token![<], Token![>])>, } pub struct Ref {