about summary refs log tree commit diff
path: root/src/librustc_interface
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-03-06 04:50:50 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-03-06 04:50:50 +0100
commit7985c6f8ecf680dcc960bb2ccc0c787274a449de (patch)
treeddda88466c99475d16bc0b2bb761e6fac17c1ee2 /src/librustc_interface
parentdb9a1c1aaf261c8505d09ac6bd3364ef0d19ee71 (diff)
downloadrust-7985c6f8ecf680dcc960bb2ccc0c787274a449de.tar.gz
rust-7985c6f8ecf680dcc960bb2ccc0c787274a449de.zip
Rename check_privacy to check_private_in_public
Diffstat (limited to 'src/librustc_interface')
-rw-r--r--src/librustc_interface/passes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_interface/passes.rs b/src/librustc_interface/passes.rs
index 2066747a6ff..8277615b465 100644
--- a/src/librustc_interface/passes.rs
+++ b/src/librustc_interface/passes.rs
@@ -281,8 +281,8 @@ fn analysis<'tcx>(
                 tcx.ensure().privacy_access_levels(LOCAL_CRATE);
             });
             parallel!({
-                time(sess, "privacy checking", || {
-                    tcx.ensure().check_privacy(LOCAL_CRATE);
+                time(sess, "private in public", || {
+                    tcx.ensure().check_private_in_public(LOCAL_CRATE);
                 });
             }, {
                 time(sess, "death checking", || middle::dead::check_crate(tcx));