summary refs log tree commit diff
path: root/src/test/ui/explore-issue-38412.stderr
blob: e3ce6c1317f502c4a3d16b1f39695d646a7b37d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412)
  --> $DIR/explore-issue-38412.rs:21:63
   |
LL |     let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } =
   |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(unstable_undeclared)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412)
  --> $DIR/explore-issue-38412.rs:30:5
   |
LL |     r.a_unstable_undeclared_pub; //~ ERROR use of unstable library feature
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(unstable_undeclared)] to the crate attributes to enable

error[E0616]: field `b_crate` of struct `pub_and_stability::Record` is private
  --> $DIR/explore-issue-38412.rs:31:5
   |
LL |     r.b_crate;                   //~ ERROR is private
   |     ^^^^^^^^^

error[E0616]: field `c_mod` of struct `pub_and_stability::Record` is private
  --> $DIR/explore-issue-38412.rs:32:5
   |
LL |     r.c_mod;                     //~ ERROR is private
   |     ^^^^^^^

error[E0616]: field `d_priv` of struct `pub_and_stability::Record` is private
  --> $DIR/explore-issue-38412.rs:33:5
   |
LL |     r.d_priv;                    //~ ERROR is private
   |     ^^^^^^^^

error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412)
  --> $DIR/explore-issue-38412.rs:37:5
   |
LL |     t.2;                         //~ ERROR use of unstable library feature
   |     ^^^
   |
   = help: add #![feature(unstable_undeclared)] to the crate attributes to enable

error[E0616]: field `3` of struct `pub_and_stability::Tuple` is private
  --> $DIR/explore-issue-38412.rs:38:5
   |
LL |     t.3;                         //~ ERROR is private
   |     ^^^

error[E0616]: field `4` of struct `pub_and_stability::Tuple` is private
  --> $DIR/explore-issue-38412.rs:39:5
   |
LL |     t.4;                         //~ ERROR is private
   |     ^^^

error[E0616]: field `5` of struct `pub_and_stability::Tuple` is private
  --> $DIR/explore-issue-38412.rs:40:5
   |
LL |     t.5;                         //~ ERROR is private
   |     ^^^

error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412)
  --> $DIR/explore-issue-38412.rs:44:7
   |
LL |     r.unstable_undeclared_trait_method(); //~ ERROR use of unstable library feature
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(unstable_undeclared)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412)
  --> $DIR/explore-issue-38412.rs:48:7
   |
LL |     r.unstable_undeclared();              //~ ERROR use of unstable library feature
   |       ^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(unstable_undeclared)] to the crate attributes to enable

error[E0624]: method `pub_crate` is private
  --> $DIR/explore-issue-38412.rs:50:7
   |
LL |     r.pub_crate();                        //~ ERROR `pub_crate` is private
   |       ^^^^^^^^^

error[E0624]: method `pub_mod` is private
  --> $DIR/explore-issue-38412.rs:51:7
   |
LL |     r.pub_mod();                          //~ ERROR `pub_mod` is private
   |       ^^^^^^^

error[E0624]: method `private` is private
  --> $DIR/explore-issue-38412.rs:52:7
   |
LL |     r.private();                          //~ ERROR `private` is private
   |       ^^^^^^^

error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412)
  --> $DIR/explore-issue-38412.rs:57:7
   |
LL |     t.unstable_undeclared_trait_method(); //~ ERROR use of unstable library feature
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(unstable_undeclared)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412)
  --> $DIR/explore-issue-38412.rs:61:7
   |
LL |     t.unstable_undeclared();              //~ ERROR use of unstable library feature
   |       ^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(unstable_undeclared)] to the crate attributes to enable

error[E0624]: method `pub_crate` is private
  --> $DIR/explore-issue-38412.rs:63:7
   |
LL |     t.pub_crate();                        //~ ERROR `pub_crate` is private
   |       ^^^^^^^^^

error[E0624]: method `pub_mod` is private
  --> $DIR/explore-issue-38412.rs:64:7
   |
LL |     t.pub_mod();                          //~ ERROR `pub_mod` is private
   |       ^^^^^^^

error[E0624]: method `private` is private
  --> $DIR/explore-issue-38412.rs:65:7
   |
LL |     t.private();                          //~ ERROR `private` is private
   |       ^^^^^^^

error: aborting due to 19 previous errors

Some errors occurred: E0616, E0624, E0658.
For more information about an error, try `rustc --explain E0616`.