Improve terminology around "after typeck"

This commit is contained in:
pierwill
2021-10-25 15:43:07 -05:00
parent 089a016919
commit 521b1ee974
13 changed files with 20 additions and 18 deletions

View File

@@ -211,7 +211,7 @@ pub struct CommonLifetimes<'tcx> {
/// `ReStatic`
pub re_static: Region<'tcx>,
/// Erased region, used after type-checking
/// Erased region, used outside of type inference.
pub re_erased: Region<'tcx>,
}
@@ -351,7 +351,7 @@ pub struct TypeckResults<'tcx> {
field_indices: ItemLocalMap<usize>,
/// Stores the types for various nodes in the AST. Note that this table
/// is not guaranteed to be populated until after typeck. See
/// is not guaranteed to be populated outside inference. See
/// typeck::check::fn_ctxt for details.
node_types: ItemLocalMap<Ty<'tcx>>,