rust-clippy/tests/ui/crashes/ice-4760.rs
2019-11-04 20:03:03 -05:00

10 lines
153 B
Rust

// run-pass
const COUNT: usize = 2;
struct Thing;
trait Dummy {}
const _: () = {
impl Dummy for Thing where [i32; COUNT]: Sized {}
};
fn main() {}