Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 8f7ff73

Browse files
Add 1 new (old?) ICE
1 parent 085baf6 commit 8f7ff73

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ices/43408.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#![feature(const_fn)]
2+
pub const fn sof<T:?Sized>() -> usize {
3+
10
4+
}
5+
fn to_byte_array<T>() -> [u8; sof::<T>()] {
6+
panic!()
7+
}

0 commit comments

Comments
 (0)