From be84a112a75f4e9acac76c497d714aba8d465ed2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 5 Jan 2019 20:53:30 +0300 Subject: show types in local variable hovers --- crates/ra_analysis/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_analysis/src/lib.rs') diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 4d895b004..390c31c3f 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs @@ -228,7 +228,7 @@ impl Query { /// /// Typically, a `NavigationTarget` corresponds to some element in the source /// code, like a function or a struct, but this is not strictly required. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct NavigationTarget { file_id: FileId, name: SmolStr, -- cgit v1.2.3