blob: d511f75df812976b00efb2663aa4692e7bef8dad (
plain)
1
2
3
4
5
|
// Note: non-`&str` panic arguments gained a separate error in PR #80734
// which is why this doesn't match the issue
struct Bug([u8; panic!("panic")]); //~ ERROR panicking in constants is unstable
fn main() {}
|