aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/generated.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r--crates/ra_syntax/src/ast/generated.rs6
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 {}
628impl ast::TypeParamsOwner for ConstDef {} 628impl ast::TypeParamsOwner for ConstDef {}
629impl ast::AttrsOwner for ConstDef {} 629impl ast::AttrsOwner for ConstDef {}
630impl ast::DocCommentsOwner for ConstDef {} 630impl ast::DocCommentsOwner for ConstDef {}
631impl ast::TypeAscriptionOwner for ConstDef {}
631impl ConstDef { 632impl 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
1771impl ast::TypeAscriptionOwner for LetStmt {}
1770impl LetStmt { 1772impl 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 {}
2592impl ast::NameOwner for NamedFieldDef {} 2594impl ast::NameOwner for NamedFieldDef {}
2593impl ast::AttrsOwner for NamedFieldDef {} 2595impl ast::AttrsOwner for NamedFieldDef {}
2594impl ast::DocCommentsOwner for NamedFieldDef {} 2596impl ast::DocCommentsOwner for NamedFieldDef {}
2597impl ast::TypeAscriptionOwner for NamedFieldDef {}
2595impl NamedFieldDef { 2598impl 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
2780impl ast::TypeAscriptionOwner for Param {}
2777impl Param { 2781impl 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
3692impl ast::TypeAscriptionOwner for SelfParam {}
3688impl SelfParam { 3693impl 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 {}
3820impl ast::TypeParamsOwner for StaticDef {} 3825impl ast::TypeParamsOwner for StaticDef {}
3821impl ast::AttrsOwner for StaticDef {} 3826impl ast::AttrsOwner for StaticDef {}
3822impl ast::DocCommentsOwner for StaticDef {} 3827impl ast::DocCommentsOwner for StaticDef {}
3828impl ast::TypeAscriptionOwner for StaticDef {}
3823impl StaticDef { 3829impl 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)