]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-4760.rs
Auto merge of #6298 - JohnTitor:fix-example, r=llogiq
[rust.git] / tests / ui / crashes / ice-4760.rs
1 const COUNT: usize = 2;
2 struct Thing;
3 trait Dummy {}
4
5 const _: () = {
6     impl Dummy for Thing where [i32; COUNT]: Sized {}
7 };
8
9 fn main() {}