Skip to content

Commit 504f136

Browse files
committed
Writeback walks the HIR not the AST.
1 parent 76ff0f4 commit 504f136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_typeck/src/check/writeback.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
8888
}
8989

9090
///////////////////////////////////////////////////////////////////////////
91-
// The Writeback context. This visitor walks the AST, checking the
91+
// The Writeback context. This visitor walks the HIR, checking the
9292
// fn-specific typeck results to find references to types or regions. It
9393
// resolves those regions to remove inference variables and writes the
9494
// final result back into the master typeck results in the tcx. Here and

0 commit comments

Comments
 (0)