aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/function.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-27 14:35:22 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-27 14:35:22 +0000
commit3b820bcca3a66660d0c5960f2a5c8f765095333e (patch)
treeb7e3edf5a0bebb168330ac56a261ed5b0a90d43e /crates/ra_hir/src/function.rs
parent7a1ed6400dbc57656eebc345f7e2ffa963bf808e (diff)
parente4de2c8d7f5ced7a24d0a76213ab113218c99d30 (diff)
Merge #346
346: add function to completion ctx r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/function.rs')
-rw-r--r--crates/ra_hir/src/function.rs1
1 files changed, 1 insertions, 0 deletions
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;
18#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] 18#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
19pub struct FnId(pub(crate) DefId); 19pub struct FnId(pub(crate) DefId);
20 20
21#[derive(Debug)]
21pub struct Function { 22pub struct Function {
22 pub(crate) fn_id: FnId, 23 pub(crate) fn_id: FnId,
23} 24}