mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Disallow access to free BoundVar
s outside TyLoweringContext
This commit is contained in:
parent
f9bd487708
commit
46e1486a90
3 changed files with 7 additions and 4 deletions
|
@ -967,7 +967,7 @@ fn resolve_hir_path_(
|
|||
db,
|
||||
def,
|
||||
res.in_type_ns()?,
|
||||
|name, _, id| (name == unresolved.name).then(|| id),
|
||||
|name, id| (name == unresolved.name).then(|| id),
|
||||
)
|
||||
})
|
||||
.map(TypeAlias::from)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue