@@ -79,19 +79,19 @@ LL | r.unstable_undeclared();
79
79
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
80
80
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
81
81
82
- error[E0624]: method `pub_crate` is private
82
+ error[E0624]: associated function `pub_crate` is private
83
83
--> $DIR/explore-issue-38412.rs:50:7
84
84
|
85
85
LL | r.pub_crate();
86
86
| ^^^^^^^^^
87
87
88
- error[E0624]: method `pub_mod` is private
88
+ error[E0624]: associated function `pub_mod` is private
89
89
--> $DIR/explore-issue-38412.rs:51:7
90
90
|
91
91
LL | r.pub_mod();
92
92
| ^^^^^^^
93
93
94
- error[E0624]: method `private` is private
94
+ error[E0624]: associated function `private` is private
95
95
--> $DIR/explore-issue-38412.rs:52:7
96
96
|
97
97
LL | r.private();
@@ -115,19 +115,19 @@ LL | t.unstable_undeclared();
115
115
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
116
116
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
117
117
118
- error[E0624]: method `pub_crate` is private
118
+ error[E0624]: associated function `pub_crate` is private
119
119
--> $DIR/explore-issue-38412.rs:63:7
120
120
|
121
121
LL | t.pub_crate();
122
122
| ^^^^^^^^^
123
123
124
- error[E0624]: method `pub_mod` is private
124
+ error[E0624]: associated function `pub_mod` is private
125
125
--> $DIR/explore-issue-38412.rs:64:7
126
126
|
127
127
LL | t.pub_mod();
128
128
| ^^^^^^^
129
129
130
- error[E0624]: method `private` is private
130
+ error[E0624]: associated function `private` is private
131
131
--> $DIR/explore-issue-38412.rs:65:7
132
132
|
133
133
LL | t.private();
0 commit comments