diff options
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 4e2705d09..6db2f74ef 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -628,6 +628,7 @@ impl ast::NameOwner for ConstDef {} | |||
628 | impl ast::TypeParamsOwner for ConstDef {} | 628 | impl ast::TypeParamsOwner for ConstDef {} |
629 | impl ast::AttrsOwner for ConstDef {} | 629 | impl ast::AttrsOwner for ConstDef {} |
630 | impl ast::DocCommentsOwner for ConstDef {} | 630 | impl ast::DocCommentsOwner for ConstDef {} |
631 | impl ast::TypeAscriptionOwner for ConstDef {} | ||
631 | impl ConstDef { | 632 | impl ConstDef { |
632 | pub fn type_ref(&self) -> Option<&TypeRef> { | 633 | pub fn type_ref(&self) -> Option<&TypeRef> { |
633 | super::child_opt(self) | 634 | super::child_opt(self) |
@@ -1767,6 +1768,7 @@ impl ToOwned for LetStmt { | |||
1767 | } | 1768 | } |
1768 | 1769 | ||
1769 | 1770 | ||
1771 | impl ast::TypeAscriptionOwner for LetStmt {} | ||
1770 | impl LetStmt { | 1772 | impl LetStmt { |
1771 | pub fn pat(&self) -> Option<&Pat> { | 1773 | pub fn pat(&self) -> Option<&Pat> { |
1772 | super::child_opt(self) | 1774 | super::child_opt(self) |
@@ -2592,6 +2594,7 @@ impl ast::VisibilityOwner for NamedFieldDef {} | |||
2592 | impl ast::NameOwner for NamedFieldDef {} | 2594 | impl ast::NameOwner for NamedFieldDef {} |
2593 | impl ast::AttrsOwner for NamedFieldDef {} | 2595 | impl ast::AttrsOwner for NamedFieldDef {} |
2594 | impl ast::DocCommentsOwner for NamedFieldDef {} | 2596 | impl ast::DocCommentsOwner for NamedFieldDef {} |
2597 | impl ast::TypeAscriptionOwner for NamedFieldDef {} | ||
2595 | impl NamedFieldDef { | 2598 | impl NamedFieldDef { |
2596 | pub fn type_ref(&self) -> Option<&TypeRef> { | 2599 | pub fn type_ref(&self) -> Option<&TypeRef> { |
2597 | super::child_opt(self) | 2600 | super::child_opt(self) |
@@ -2774,6 +2777,7 @@ impl ToOwned for Param { | |||
2774 | } | 2777 | } |
2775 | 2778 | ||
2776 | 2779 | ||
2780 | impl ast::TypeAscriptionOwner for Param {} | ||
2777 | impl Param { | 2781 | impl Param { |
2778 | pub fn pat(&self) -> Option<&Pat> { | 2782 | pub fn pat(&self) -> Option<&Pat> { |
2779 | super::child_opt(self) | 2783 | super::child_opt(self) |
@@ -3685,6 +3689,7 @@ impl ToOwned for SelfParam { | |||
3685 | } | 3689 | } |
3686 | 3690 | ||
3687 | 3691 | ||
3692 | impl ast::TypeAscriptionOwner for SelfParam {} | ||
3688 | impl SelfParam { | 3693 | impl SelfParam { |
3689 | pub fn type_ref(&self) -> Option<&TypeRef> { | 3694 | pub fn type_ref(&self) -> Option<&TypeRef> { |
3690 | super::child_opt(self) | 3695 | super::child_opt(self) |
@@ -3820,6 +3825,7 @@ impl ast::NameOwner for StaticDef {} | |||
3820 | impl ast::TypeParamsOwner for StaticDef {} | 3825 | impl ast::TypeParamsOwner for StaticDef {} |
3821 | impl ast::AttrsOwner for StaticDef {} | 3826 | impl ast::AttrsOwner for StaticDef {} |
3822 | impl ast::DocCommentsOwner for StaticDef {} | 3827 | impl ast::DocCommentsOwner for StaticDef {} |
3828 | impl ast::TypeAscriptionOwner for StaticDef {} | ||
3823 | impl StaticDef { | 3829 | impl StaticDef { |
3824 | pub fn type_ref(&self) -> Option<&TypeRef> { | 3830 | pub fn type_ref(&self) -> Option<&TypeRef> { |
3825 | super::child_opt(self) | 3831 | super::child_opt(self) |