From e4de2c8d7f5ced7a24d0a76213ab113218c99d30 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 27 Dec 2018 17:33:52 +0300 Subject: add function to completion ctx --- crates/ra_hir/src/function.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_hir') diff --git a/crates/ra_hir/src/function.rs b/crates/ra_hir/src/function.rs index 01f0f3a66..d4159cee2 100644 --- a/crates/ra_hir/src/function.rs +++ b/crates/ra_hir/src/function.rs @@ -18,6 +18,7 @@ pub use self::scope::FnScopes; #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub struct FnId(pub(crate) DefId); +#[derive(Debug)] pub struct Function { pub(crate) fn_id: FnId, } -- cgit v1.2.3