about summary refs log tree commit diff
path: root/compiler/rustc_save_analysis/src/lib.rs
diff options
context:
space:
mode:
authorpierwill <pierwill@users.noreply.github.com>2021-10-25 15:43:07 -0500
committerpierwill <pierwill@users.noreply.github.com>2021-11-06 20:59:38 -0500
commit521b1ee974296b4d2ecce79efaa10347642d1e3e (patch)
treeda7fe64daf83e05baa072b5d3415a2e4927370f5 /compiler/rustc_save_analysis/src/lib.rs
parent089a016919b0a9daaed9f676804102d6ba3f8f9d (diff)
downloadrust-521b1ee974296b4d2ecce79efaa10347642d1e3e.tar.gz
rust-521b1ee974296b4d2ecce79efaa10347642d1e3e.zip
Improve terminology around "after typeck"
Diffstat (limited to 'compiler/rustc_save_analysis/src/lib.rs')
-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 543cd0247a5..067c1c933b2 100644
--- a/compiler/rustc_save_analysis/src/lib.rs
+++ b/compiler/rustc_save_analysis/src/lib.rs
@@ -985,7 +985,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(()),