Skip to content

Commit bd6ae6a

Browse files
committed
Reexpose stability hole in the presence of feature gates
1 parent bb78426 commit bd6ae6a

9 files changed

+3
-1
lines changed

src/libsyntax/feature_gate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ declare_features! (
225225
(active, const_compare_raw_pointers, "1.27.0", Some(53020), None),
226226

227227
// Allows panicking during const eval (produces compile-time errors)
228-
(active, const_panic, "1.29.0", Some(51999), None),
228+
(active, const_panic, "1.30.0", Some(51999), None),
229229

230230
// Allows using #[prelude_import] on glob `use` items.
231231
//

src/test/ui/const-eval/const_panic_libcore_main.rs src/test/ui/consts/const-eval/const_panic_libcore_main.rs

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ const X: () = unimplemented!();
2828

2929
#[lang = "eh_personality"]
3030
fn eh() {}
31+
#[lang = "eh_unwind_resume"]
32+
fn eh_unwind_resume() {}
3133

3234
#[panic_implementation]
3335
fn panic(_info: &PanicInfo) -> ! {

0 commit comments

Comments
 (0)