@@ -83,21 +83,6 @@ help: skipping check for `const_refs_to_static` feature
8383 |
8484LL | unsafe { &static_cross_crate::ZERO }
8585 | ^^^^^^^^^^^^^^^^^^^^^^^^
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- | ^^^^^^^^^^^^^^^^^^^^^^^^
10186help: skipping check for `const_refs_to_static` feature
10287 --> $DIR/const_refers_to_static_cross_crate.rs:18:15
10388 |
@@ -113,26 +98,6 @@ help: skipping check for `const_refs_to_static` feature
11398 |
11499LL | match static_cross_crate::OPT_ZERO {
115100 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
136101
137102error: aborting due to 8 previous errors; 2 warnings emitted
138103
0 commit comments