Separate the lifetime of the session and the arena in the resolver
This commit is contained in:
parent
e9ab7872fd
commit
43a5cc383d
12 changed files with 79 additions and 70 deletions
|
@ -28,7 +28,7 @@ use RibKind::*;
|
|||
|
||||
type Visibility = ty::Visibility<LocalDefId>;
|
||||
|
||||
impl<'a> Resolver<'a> {
|
||||
impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
||||
/// A generic scope visitor.
|
||||
/// Visits scopes in order to resolve some identifier in them or perform other actions.
|
||||
/// If the callback returns `Some` result, we stop visiting scopes and return it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue