From 18bf2e5af5875f036b321bcf9e07e9904c02510e Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Fri, 1 Jan 2021 10:07:01 +0100 Subject: Add ConstParams to the ide layer --- crates/assists/src/ast_transform.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/assists/src') diff --git a/crates/assists/src/ast_transform.rs b/crates/assists/src/ast_transform.rs index da94e9987..4a3ed7783 100644 --- a/crates/assists/src/ast_transform.rs +++ b/crates/assists/src/ast_transform.rs @@ -204,7 +204,8 @@ impl<'a> AstTransform<'a> for QualifyPaths<'a> { } PathResolution::Local(_) | PathResolution::TypeParam(_) - | PathResolution::SelfType(_) => None, + | PathResolution::SelfType(_) + | PathResolution::ConstParam(_) => None, PathResolution::Macro(_) => None, PathResolution::AssocItem(_) => None, } -- cgit v1.2.3