@@ -79,19 +79,19 @@ LL | r.unstable_undeclared();
7979 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
8080 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
8181
82- error[E0624]: method `pub_crate` is private
82+ error[E0624]: associated function `pub_crate` is private
8383 --> $DIR/explore-issue-38412.rs:50:7
8484 |
8585LL | r.pub_crate();
8686 | ^^^^^^^^^
8787
88- error[E0624]: method `pub_mod` is private
88+ error[E0624]: associated function `pub_mod` is private
8989 --> $DIR/explore-issue-38412.rs:51:7
9090 |
9191LL | r.pub_mod();
9292 | ^^^^^^^
9393
94- error[E0624]: method `private` is private
94+ error[E0624]: associated function `private` is private
9595 --> $DIR/explore-issue-38412.rs:52:7
9696 |
9797LL | r.private();
@@ -115,19 +115,19 @@ LL | t.unstable_undeclared();
115115 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
116116 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
117117
118- error[E0624]: method `pub_crate` is private
118+ error[E0624]: associated function `pub_crate` is private
119119 --> $DIR/explore-issue-38412.rs:63:7
120120 |
121121LL | t.pub_crate();
122122 | ^^^^^^^^^
123123
124- error[E0624]: method `pub_mod` is private
124+ error[E0624]: associated function `pub_mod` is private
125125 --> $DIR/explore-issue-38412.rs:64:7
126126 |
127127LL | t.pub_mod();
128128 | ^^^^^^^
129129
130- error[E0624]: method `private` is private
130+ error[E0624]: associated function `private` is private
131131 --> $DIR/explore-issue-38412.rs:65:7
132132 |
133133LL | t.private();
0 commit comments