Closed
Description
#![feature(min_const_fn, const_panic)]
const fn foo() {
panic!("")
}
fn main() {
let _: &'static () = &foo();
}
causes an illegal hardware instruction. cc @oli-obk
#![feature(min_const_fn, const_panic)]
const fn foo() {
panic!("")
}
fn main() {
let _: &'static () = &foo();
}
causes an illegal hardware instruction. cc @oli-obk