From 3fb58c620ccf93487cc3b9b8718002481826b4c2 Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Wed, 7 Aug 2019 23:42:28 +0700 Subject: Add function parameters attributes --- crates/ra_syntax/src/ast/generated.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/ra_syntax/src/ast/generated.rs') 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 { impl ast::TypeAscriptionOwner for Param {} +impl ast::AttrsOwner for Param {} impl Param { pub fn pat(&self) -> Option { super::child_opt(self) @@ -2667,6 +2668,7 @@ impl AstNode for SelfParam { impl ast::TypeAscriptionOwner for SelfParam {} +impl ast::AttrsOwner for SelfParam {} impl SelfParam {} // SlicePat -- cgit v1.2.3