mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
fix: Resolve generic parameters within use captures
This commit is contained in:
parent
7f39ee3fce
commit
d6b62265b5
5 changed files with 90 additions and 2 deletions
|
@ -1517,6 +1517,10 @@ impl<'db> SemanticsImpl<'db> {
|
|||
self.analyze(path.syntax())?.resolve_path(self.db, path)
|
||||
}
|
||||
|
||||
pub fn resolve_use_type_arg(&self, name: &ast::NameRef) -> Option<TypeParam> {
|
||||
self.analyze(name.syntax())?.resolve_use_type_arg(name)
|
||||
}
|
||||
|
||||
pub fn resolve_mod_path(
|
||||
&self,
|
||||
scope: &SyntaxNode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue