about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/ty.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-31 06:58:26 +0100
committerGitHub <noreply@github.com>2022-01-31 06:58:26 +0100
commit6749f32c3389185ab655b0781ea495d46040092b (patch)
treee6457dfeb401668a1ca4b3cf0b22945e71de89b1 /compiler/rustc_ty_utils/src/ty.rs
parente58e7b10e13595b4df1b105bfb9ad03c8dee7832 (diff)
parent521b1ee974296b4d2ecce79efaa10347642d1e3e (diff)
downloadrust-6749f32c3389185ab655b0781ea495d46040092b.tar.gz
rust-6749f32c3389185ab655b0781ea495d46040092b.zip
Rollup merge of #90277 - pierwill:fix-70258-inference-terms, r=jackh726
Improve terminology around "after typeck"

Closes #70258.
Diffstat (limited to 'compiler/rustc_ty_utils/src/ty.rs')
-rw-r--r--compiler/rustc_ty_utils/src/ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/ty.rs b/compiler/rustc_ty_utils/src/ty.rs
index fef83190468..b882a940d40 100644
--- a/compiler/rustc_ty_utils/src/ty.rs
+++ b/compiler/rustc_ty_utils/src/ty.rs
@@ -149,7 +149,7 @@ fn param_env(tcx: TyCtxt<'_>, def_id: DefId) -> ty::ParamEnv<'_> {
     // kind of an "idempotent" action, but I'm not sure where would be
     // a better place. In practice, we construct environments for
     // every fn once during type checking, and we'll abort if there
-    // are any errors at that point, so after type checking you can be
+    // are any errors at that point, so outside of type inference you can be
     // sure that this will succeed without errors anyway.
 
     if tcx.sess.opts.debugging_opts.chalk {