From d97a4b8e49df118a13a122225474bcbd011c0ea1 Mon Sep 17 00:00:00 2001 From: Lukas Tobias Wirth Date: Thu, 6 May 2021 17:05:49 +0200 Subject: [PATCH] Support goto_type_definition for types --- crates/hir/src/semantics.rs | 12 ++++++++++++ crates/ide/src/goto_type_definition.rs | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/crates/hir/src/semantics.rs b/crates/hir/src/semantics.rs index 62500602a71..38bd376bc08 100644 --- a/crates/hir/src/semantics.rs +++ b/crates/hir/src/semantics.rs @@ -196,6 +196,10 @@ pub fn resolve_label(&self, lifetime: &ast::Lifetime) -> Option