Rollup merge of #90277 - pierwill:fix-70258-inference-terms, r=jackh726

Improve terminology around "after typeck"

Closes #70258.
This commit is contained in:
Matthias Krüger
2022-01-31 06:58:26 +01:00
committed by GitHub
13 changed files with 20 additions and 18 deletions

View File

@@ -220,7 +220,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>,
}
@@ -360,7 +360,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>>,