aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
authorEvgenii P <[email protected]>2019-08-07 17:42:28 +0100
committerEvgenii P <[email protected]>2019-08-07 17:42:28 +0100
commit3fb58c620ccf93487cc3b9b8718002481826b4c2 (patch)
tree74bd7954df7861c40122f8b3e09f0d293252fc8b /crates/ra_syntax/src/ast
parent9ea4ae680a2d3ce2da38cd7fc6c039e5d7d03171 (diff)
Add function parameters attributes
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r--crates/ra_syntax/src/ast/generated.rs2
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 da8cf4ae8..f322e1d84 100644
--- a/crates/ra_syntax/src/ast/generated.rs
+++ b/crates/ra_syntax/src/ast/generated.rs
@@ -2013,6 +2013,7 @@ impl AstNode for Param {
2013 2013
2014 2014
2015impl ast::TypeAscriptionOwner for Param {} 2015impl ast::TypeAscriptionOwner for Param {}
2016impl ast::AttrsOwner for Param {}
2016impl Param { 2017impl Param {
2017 pub fn pat(&self) -> Option<Pat> { 2018 pub fn pat(&self) -> Option<Pat> {
2018 super::child_opt(self) 2019 super::child_opt(self)
@@ -2667,6 +2668,7 @@ impl AstNode for SelfParam {
2667 2668
2668 2669
2669impl ast::TypeAscriptionOwner for SelfParam {} 2670impl ast::TypeAscriptionOwner for SelfParam {}
2671impl ast::AttrsOwner for SelfParam {}
2670impl SelfParam {} 2672impl SelfParam {}
2671 2673
2672// SlicePat 2674// SlicePat