Reexpose stability hole in the presence of feature gates

This commit is contained in:
Oliver Schneider 2018-08-13 14:27:29 +02:00
parent bb78426ca8
commit bd6ae6a6d1
9 changed files with 3 additions and 1 deletions

View File

@ -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.
//

View File

@ -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) -> ! {