1
1
error[E0658]: use of unstable library feature `unstable_undeclared`
2
- --> $DIR/explore-issue-38412 .rs:19:63
2
+ --> $DIR/stability-privacy-interaction .rs:29:9
3
3
|
4
- LL | let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } =
5
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4
+ LL | a_unstable_undeclared_pub: _,
5
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
6
|
7
7
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
8
8
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
9
9
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
10
10
11
11
error[E0658]: use of unstable library feature `unstable_undeclared`
12
- --> $DIR/explore-issue-38412 .rs:28 :5
12
+ --> $DIR/stability-privacy-interaction .rs:39 :5
13
13
|
14
14
LL | r.a_unstable_undeclared_pub;
15
15
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -19,25 +19,25 @@ LL | r.a_unstable_undeclared_pub;
19
19
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
20
20
21
21
error[E0616]: field `b_crate` of struct `Record` is private
22
- --> $DIR/explore-issue-38412 .rs:29 :7
22
+ --> $DIR/stability-privacy-interaction .rs:40 :7
23
23
|
24
24
LL | r.b_crate;
25
25
| ^^^^^^^ private field
26
26
27
27
error[E0616]: field `c_mod` of struct `Record` is private
28
- --> $DIR/explore-issue-38412 .rs:30 :7
28
+ --> $DIR/stability-privacy-interaction .rs:41 :7
29
29
|
30
30
LL | r.c_mod;
31
31
| ^^^^^ private field
32
32
33
33
error[E0616]: field `d_priv` of struct `Record` is private
34
- --> $DIR/explore-issue-38412 .rs:31 :7
34
+ --> $DIR/stability-privacy-interaction .rs:42 :7
35
35
|
36
36
LL | r.d_priv;
37
37
| ^^^^^^ private field
38
38
39
39
error[E0658]: use of unstable library feature `unstable_undeclared`
40
- --> $DIR/explore-issue-38412 .rs:35 :5
40
+ --> $DIR/stability-privacy-interaction .rs:46 :5
41
41
|
42
42
LL | t.2;
43
43
| ^^^
@@ -47,25 +47,25 @@ LL | t.2;
47
47
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
48
48
49
49
error[E0616]: field `3` of struct `pub_and_stability::Tuple` is private
50
- --> $DIR/explore-issue-38412 .rs:36 :7
50
+ --> $DIR/stability-privacy-interaction .rs:47 :7
51
51
|
52
52
LL | t.3;
53
53
| ^ private field
54
54
55
55
error[E0616]: field `4` of struct `pub_and_stability::Tuple` is private
56
- --> $DIR/explore-issue-38412 .rs:37 :7
56
+ --> $DIR/stability-privacy-interaction .rs:48 :7
57
57
|
58
58
LL | t.4;
59
59
| ^ private field
60
60
61
61
error[E0616]: field `5` of struct `pub_and_stability::Tuple` is private
62
- --> $DIR/explore-issue-38412 .rs:38 :7
62
+ --> $DIR/stability-privacy-interaction .rs:49 :7
63
63
|
64
64
LL | t.5;
65
65
| ^ private field
66
66
67
67
error[E0658]: use of unstable library feature `unstable_undeclared`
68
- --> $DIR/explore-issue-38412 .rs:42 :7
68
+ --> $DIR/stability-privacy-interaction .rs:54 :7
69
69
|
70
70
LL | r.unstable_undeclared_trait_method();
71
71
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -75,7 +75,7 @@ LL | r.unstable_undeclared_trait_method();
75
75
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
76
76
77
77
error[E0658]: use of unstable library feature `unstable_undeclared`
78
- --> $DIR/explore-issue-38412 .rs:46 :7
78
+ --> $DIR/stability-privacy-interaction .rs:59 :7
79
79
|
80
80
LL | r.unstable_undeclared();
81
81
| ^^^^^^^^^^^^^^^^^^^
@@ -85,7 +85,7 @@ LL | r.unstable_undeclared();
85
85
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
86
86
87
87
error[E0624]: method `pub_crate` is private
88
- --> $DIR/explore-issue-38412 .rs:48 :7
88
+ --> $DIR/stability-privacy-interaction .rs:61 :7
89
89
|
90
90
LL | r.pub_crate();
91
91
| ^^^^^^^^^ private method
@@ -96,7 +96,7 @@ LL | pub(crate) fn pub_crate(&self) -> i32 { self.d_priv }
96
96
| ------------------------------------- private method defined here
97
97
98
98
error[E0624]: method `pub_mod` is private
99
- --> $DIR/explore-issue-38412 .rs:49 :7
99
+ --> $DIR/stability-privacy-interaction .rs:62 :7
100
100
|
101
101
LL | r.pub_mod();
102
102
| ^^^^^^^ private method
@@ -107,7 +107,7 @@ LL | pub(in crate::m) fn pub_mod(&self) -> i32 { self.d_priv }
107
107
| ----------------------------------------- private method defined here
108
108
109
109
error[E0624]: method `private` is private
110
- --> $DIR/explore-issue-38412 .rs:50 :7
110
+ --> $DIR/stability-privacy-interaction .rs:63 :7
111
111
|
112
112
LL | r.private();
113
113
| ^^^^^^^ private method
@@ -118,7 +118,7 @@ LL | fn private(&self) -> i32 { self.d_priv }
118
118
| ------------------------ private method defined here
119
119
120
120
error[E0658]: use of unstable library feature `unstable_undeclared`
121
- --> $DIR/explore-issue-38412 .rs:55 :7
121
+ --> $DIR/stability-privacy-interaction .rs:69 :7
122
122
|
123
123
LL | t.unstable_undeclared_trait_method();
124
124
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -128,7 +128,7 @@ LL | t.unstable_undeclared_trait_method();
128
128
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
129
129
130
130
error[E0658]: use of unstable library feature `unstable_undeclared`
131
- --> $DIR/explore-issue-38412 .rs:59 :7
131
+ --> $DIR/stability-privacy-interaction .rs:73 :7
132
132
|
133
133
LL | t.unstable_undeclared();
134
134
| ^^^^^^^^^^^^^^^^^^^
@@ -138,7 +138,7 @@ LL | t.unstable_undeclared();
138
138
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
139
139
140
140
error[E0624]: method `pub_crate` is private
141
- --> $DIR/explore-issue-38412 .rs:61 :7
141
+ --> $DIR/stability-privacy-interaction .rs:75 :7
142
142
|
143
143
LL | t.pub_crate();
144
144
| ^^^^^^^^^ private method
@@ -149,7 +149,7 @@ LL | pub(crate) fn pub_crate(&self) -> i32 { self.0 }
149
149
| ------------------------------------- private method defined here
150
150
151
151
error[E0624]: method `pub_mod` is private
152
- --> $DIR/explore-issue-38412 .rs:62 :7
152
+ --> $DIR/stability-privacy-interaction .rs:76 :7
153
153
|
154
154
LL | t.pub_mod();
155
155
| ^^^^^^^ private method
@@ -160,7 +160,7 @@ LL | pub(in crate::m) fn pub_mod(&self) -> i32 { self.0 }
160
160
| ----------------------------------------- private method defined here
161
161
162
162
error[E0624]: method `private` is private
163
- --> $DIR/explore-issue-38412 .rs:63 :7
163
+ --> $DIR/stability-privacy-interaction .rs:77 :7
164
164
|
165
165
LL | t.private();
166
166
| ^^^^^^^ private method
0 commit comments