about summary refs log tree commit diff
path: root/compiler/rustc_save_analysis/src
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_save_analysis/src
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_save_analysis/src')
-rw-r--r--compiler/rustc_save_analysis/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_save_analysis/src/lib.rs b/compiler/rustc_save_analysis/src/lib.rs
index b95fe1b0549..570fa873a23 100644
--- a/compiler/rustc_save_analysis/src/lib.rs
+++ b/compiler/rustc_save_analysis/src/lib.rs
@@ -984,7 +984,7 @@ pub fn process_crate<'l, 'tcx, H: SaveHandler>(
         tcx.dep_graph.with_ignore(|| {
             info!("Dumping crate {}", cratename);
 
-            // Privacy checking requires and is done after type checking; use a
+            // Privacy checking must be done outside of type inference; use a
             // fallback in case the access levels couldn't have been correctly computed.
             let access_levels = match tcx.sess.compile_status() {
                 Ok(..) => tcx.privacy_access_levels(()),