mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Add ConstParams to the HIR
This commit is contained in:
parent
77ad203a71
commit
0acdb73076
16 changed files with 173 additions and 37 deletions
|
@ -479,6 +479,7 @@ pub(crate) fn resolve_hir_path(
|
|||
ValueNs::StructId(it) => PathResolution::Def(Struct::from(it).into()),
|
||||
ValueNs::EnumVariantId(it) => PathResolution::Def(Variant::from(it).into()),
|
||||
ValueNs::ImplSelf(impl_id) => PathResolution::SelfType(impl_id.into()),
|
||||
ValueNs::GenericParam(it) => PathResolution::ConstParam(it.into()),
|
||||
};
|
||||
Some(res)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue