From b34cdf7bf47c87290500a573756e719a2699cd3b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 11 Jul 2020 22:48:56 +0200 Subject: Implementations lens for unions closes #4728 --- crates/ra_ide/src/display/structure.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_ide/src/display/structure.rs') diff --git a/crates/ra_ide/src/display/structure.rs b/crates/ra_ide/src/display/structure.rs index c22a5d17b..1f6a3febf 100644 --- a/crates/ra_ide/src/display/structure.rs +++ b/crates/ra_ide/src/display/structure.rs @@ -127,6 +127,7 @@ fn structure_node(node: &SyntaxNode) -> Option { decl_with_detail(it, Some(detail)) }, ast::StructDef(it) => decl(it), + ast::UnionDef(it) => decl(it), ast::EnumDef(it) => decl(it), ast::EnumVariant(it) => decl(it), ast::TraitDef(it) => decl(it), -- cgit v1.2.3