mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +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
|
@ -1600,7 +1600,7 @@ impl<'a> SemanticsScope<'a> {
|
|||
self.db,
|
||||
def,
|
||||
resolution.in_type_ns()?,
|
||||
|name, _, id| cb(name, id.into()),
|
||||
|name, id| cb(name, id.into()),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue