mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-14 21:16:50 +00:00
Reexpose stability hole in the presence of feature gates
This commit is contained in:
parent
bb78426ca8
commit
bd6ae6a6d1
@ -225,7 +225,7 @@ declare_features! (
|
||||
(active, const_compare_raw_pointers, "1.27.0", Some(53020), None),
|
||||
|
||||
// Allows panicking during const eval (produces compile-time errors)
|
||||
(active, const_panic, "1.29.0", Some(51999), None),
|
||||
(active, const_panic, "1.30.0", Some(51999), None),
|
||||
|
||||
// Allows using #[prelude_import] on glob `use` items.
|
||||
//
|
||||
|
@ -28,6 +28,8 @@ const X: () = unimplemented!();
|
||||
|
||||
#[lang = "eh_personality"]
|
||||
fn eh() {}
|
||||
#[lang = "eh_unwind_resume"]
|
||||
fn eh_unwind_resume() {}
|
||||
|
||||
#[panic_implementation]
|
||||
fn panic(_info: &PanicInfo) -> ! {
|
Loading…
Reference in New Issue
Block a user