From 13d2fd32ab5df598496c6abbf46591ff05cd3def Mon Sep 17 00:00:00 2001 From: gfreezy Date: Wed, 23 Jan 2019 13:21:29 +0800 Subject: fix completion bugs --- crates/ra_hir/src/code_model_impl/module.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crates/ra_hir/src/code_model_impl/module.rs') diff --git a/crates/ra_hir/src/code_model_impl/module.rs b/crates/ra_hir/src/code_model_impl/module.rs index 73c212de8..d94079f11 100644 --- a/crates/ra_hir/src/code_model_impl/module.rs +++ b/crates/ra_hir/src/code_model_impl/module.rs @@ -143,6 +143,10 @@ impl Module { return PerNs::none(); } } + PathKind::Abs => { + // TODO: absolute use is not supported + return PerNs::none(); + } } .def_id, ); -- cgit v1.2.3