From 6df71da81f9260890ac42ed992946543d697e57c Mon Sep 17 00:00:00 2001 From: "Jeremy A. Kolb" Date: Fri, 2 Nov 2018 09:59:07 -0400 Subject: Add some more DocCommentsOwner --- crates/ra_syntax/src/ast/generated.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crates/ra_syntax/src/ast') diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 3878c99a8..8cf3222f7 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs @@ -608,6 +608,7 @@ impl> ConstDefNode { impl<'a> ast::NameOwner<'a> for ConstDef<'a> {} impl<'a> ast::TypeParamsOwner<'a> for ConstDef<'a> {} impl<'a> ast::AttrsOwner<'a> for ConstDef<'a> {} +impl<'a> ast::DocCommentsOwner<'a> for ConstDef<'a> {} impl<'a> ConstDef<'a> {} // ContinueExpr @@ -722,6 +723,7 @@ impl> EnumDefNode { impl<'a> ast::NameOwner<'a> for EnumDef<'a> {} impl<'a> ast::TypeParamsOwner<'a> for EnumDef<'a> {} impl<'a> ast::AttrsOwner<'a> for EnumDef<'a> {} +impl<'a> ast::DocCommentsOwner<'a> for EnumDef<'a> {} impl<'a> EnumDef<'a> {} // Expr @@ -1886,6 +1888,7 @@ impl> ModuleNode { impl<'a> ast::NameOwner<'a> for Module<'a> {} impl<'a> ast::AttrsOwner<'a> for Module<'a> {} +impl<'a> ast::DocCommentsOwner<'a> for Module<'a> {} impl<'a> Module<'a> { pub fn item_list(self) -> Option> { super::child_opt(self) @@ -3205,6 +3208,7 @@ impl> StaticDefNode { impl<'a> ast::NameOwner<'a> for StaticDef<'a> {} impl<'a> ast::TypeParamsOwner<'a> for StaticDef<'a> {} impl<'a> ast::AttrsOwner<'a> for StaticDef<'a> {} +impl<'a> ast::DocCommentsOwner<'a> for StaticDef<'a> {} impl<'a> StaticDef<'a> {} // Stmt @@ -3270,6 +3274,7 @@ impl> StructDefNode { impl<'a> ast::NameOwner<'a> for StructDef<'a> {} impl<'a> ast::TypeParamsOwner<'a> for StructDef<'a> {} impl<'a> ast::AttrsOwner<'a> for StructDef<'a> {} +impl<'a> ast::DocCommentsOwner<'a> for StructDef<'a> {} impl<'a> StructDef<'a> { pub fn fields(self) -> impl Iterator> + 'a { super::children(self) @@ -3424,6 +3429,7 @@ impl> TraitDefNode { impl<'a> ast::NameOwner<'a> for TraitDef<'a> {} impl<'a> ast::AttrsOwner<'a> for TraitDef<'a> {} +impl<'a> ast::DocCommentsOwner<'a> for TraitDef<'a> {} impl<'a> TraitDef<'a> {} // TryExpr @@ -3649,6 +3655,7 @@ impl> TypeDefNode { impl<'a> ast::NameOwner<'a> for TypeDef<'a> {} impl<'a> ast::TypeParamsOwner<'a> for TypeDef<'a> {} impl<'a> ast::AttrsOwner<'a> for TypeDef<'a> {} +impl<'a> ast::DocCommentsOwner<'a> for TypeDef<'a> {} impl<'a> TypeDef<'a> {} // TypeParam -- cgit v1.2.3