blob: a5a961658c76c97e895af20884bc7c4fa0a53b46 [file] [log] [blame] [edit]
//@ edition:2015..2021
const fn hey() -> usize {
panic!(123); //~ ERROR argument to `panic!()` in a const context must have type `&str`
}
fn main() {
let _: [u8; hey()] = todo!();
}