diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-18 06:14:39 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-18 06:14:39 +0000 |
commit | b5df9656245079d3dc4457ae326f9710ff58a298 (patch) | |
tree | c67fd94ddc80df9dce459f4cdc526d89e4284e99 /crates/ra_syntax/src/ast | |
parent | a725dd4f7ac2b88541189f0f726ce86876c36add (diff) | |
parent | 58d14bcaf70662506e1a289494365d976b40fc4e (diff) |
Merge #851
851: Enable parsing attributes for generic lifetimes and type parameters r=matklad a=vipentti
Co-authored-by: Ville Penttinen <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index c7aaccc95..47107a58b 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -1716,6 +1716,7 @@ impl ToOwned for LifetimeParam { | |||
1716 | } | 1716 | } |
1717 | 1717 | ||
1718 | 1718 | ||
1719 | impl ast::AttrsOwner for LifetimeParam {} | ||
1719 | impl LifetimeParam { | 1720 | impl LifetimeParam { |
1720 | pub fn lifetime(&self) -> Option<&Lifetime> { | 1721 | pub fn lifetime(&self) -> Option<&Lifetime> { |
1721 | super::child_opt(self) | 1722 | super::child_opt(self) |
@@ -4076,6 +4077,7 @@ impl ToOwned for TypeParam { | |||
4076 | 4077 | ||
4077 | 4078 | ||
4078 | impl ast::NameOwner for TypeParam {} | 4079 | impl ast::NameOwner for TypeParam {} |
4080 | impl ast::AttrsOwner for TypeParam {} | ||
4079 | impl TypeParam {} | 4081 | impl TypeParam {} |
4080 | 4082 | ||
4081 | // TypeParamList | 4083 | // TypeParamList |