add function to completion ctx

This commit is contained in:
Aleksey Kladov
2018-12-27 17:33:52 +03:00
parent 7a1ed6400d
commit e4de2c8d7f
6 changed files with 19 additions and 21 deletions

View File

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