@@ -83,21 +83,6 @@ help: skipping check for `const_refs_to_static` feature
83
83
|
84
84
LL | unsafe { &static_cross_crate::ZERO }
85
85
| ^^^^^^^^^^^^^^^^^^^^^^^^
86
- help: skipping check for `const_refs_to_static` feature
87
- --> $DIR/const_refers_to_static_cross_crate.rs:12:15
88
- |
89
- LL | unsafe { &static_cross_crate::ZERO }
90
- | ^^^^^^^^^^^^^^^^^^^^^^^^
91
- help: skipping check for `const_refs_to_static` feature
92
- --> $DIR/const_refers_to_static_cross_crate.rs:18:15
93
- |
94
- LL | unsafe { &static_cross_crate::ZERO[0] }
95
- | ^^^^^^^^^^^^^^^^^^^^^^^^
96
- help: skipping check for `const_refs_to_static` feature
97
- --> $DIR/const_refers_to_static_cross_crate.rs:18:15
98
- |
99
- LL | unsafe { &static_cross_crate::ZERO[0] }
100
- | ^^^^^^^^^^^^^^^^^^^^^^^^
101
86
help: skipping check for `const_refs_to_static` feature
102
87
--> $DIR/const_refers_to_static_cross_crate.rs:18:15
103
88
|
@@ -113,26 +98,6 @@ help: skipping check for `const_refs_to_static` feature
113
98
|
114
99
LL | match static_cross_crate::OPT_ZERO {
115
100
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116
- help: skipping check for `const_refs_to_static` feature
117
- --> $DIR/const_refers_to_static_cross_crate.rs:28:15
118
- |
119
- LL | match static_cross_crate::OPT_ZERO {
120
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
121
- help: skipping check for `const_refs_to_static` feature
122
- --> $DIR/const_refers_to_static_cross_crate.rs:28:15
123
- |
124
- LL | match static_cross_crate::OPT_ZERO {
125
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126
- help: skipping check for `const_refs_to_static` feature
127
- --> $DIR/const_refers_to_static_cross_crate.rs:28:15
128
- |
129
- LL | match static_cross_crate::OPT_ZERO {
130
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
131
- help: skipping check for `const_refs_to_static` feature
132
- --> $DIR/const_refers_to_static_cross_crate.rs:28:15
133
- |
134
- LL | match static_cross_crate::OPT_ZERO {
135
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
136
101
137
102
error: aborting due to 8 previous errors; 2 warnings emitted
138
103
0 commit comments