Skip to content

Commit 363db14

Browse files
committed
fix new ui test
1 parent ca03f86 commit 363db14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#![crate_type = "bin"]
1212
#![feature(lang_items)]
13-
#![feature(panic_implementation)]
13+
#![feature(panic_handler)]
1414
#![feature(const_panic)]
1515
#![no_main]
1616
#![no_std]
@@ -31,7 +31,7 @@ fn eh() {}
3131
#[lang = "eh_unwind_resume"]
3232
fn eh_unwind_resume() {}
3333

34-
#[panic_implementation]
34+
#[panic_handler]
3535
fn panic(_info: &PanicInfo) -> ! {
3636
loop {}
3737
}

0 commit comments

Comments
 (0)