mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Writeback walks the HIR not the AST.
This commit is contained in:
parent
76ff0f408a
commit
504f136c74
@ -88,7 +88,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// The Writeback context. This visitor walks the AST, checking the
|
||||
// The Writeback context. This visitor walks the HIR, checking the
|
||||
// fn-specific typeck results to find references to types or regions. It
|
||||
// resolves those regions to remove inference variables and writes the
|
||||
// final result back into the master typeck results in the tcx. Here and
|
||||
|
Loading…
Reference in New Issue
Block a user