show types in local variable hovers

This commit is contained in:
Aleksey Kladov 2019-01-05 20:53:30 +03:00
parent ee461a2111
commit be84a112a7
2 changed files with 27 additions and 10 deletions

View file

@ -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,