From 6a6ce2bc959c346aed7a98c8509d1aa3d19ec8a9 Mon Sep 17 00:00:00 2001 From: "Jeremy A. Kolb" Date: Wed, 23 Jan 2019 15:59:19 -0500 Subject: Make EnumVariant a DocCommentsOwner --- crates/ra_syntax/src/ast/generated.rs | 1 + 1 file changed, 1 insertion(+) (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 9fe946172..ac6c8a835 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs @@ -632,6 +632,7 @@ impl AstNode for EnumVariant { impl ast::NameOwner for EnumVariant {} +impl ast::DocCommentsOwner for EnumVariant {} impl EnumVariant { pub fn expr(&self) -> Option<&Expr> { super::child_opt(self) -- cgit v1.2.3