Skip to content

Commit 4a3ba90

Browse files
committed
Add 85907
Issue: rust-lang/rust#85907
1 parent 52b7325 commit 4a3ba90

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ices/85907.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#![feature(const_panic)]
2+
3+
const fn hey() -> usize {
4+
panic!(123);
5+
}
6+
7+
fn main() {
8+
let _: [u8; hey()] = todo!();
9+
}

0 commit comments

Comments
 (0)