rust-clippy/tests/ui/crashes/ice-4760.rs

11 lines
153 B
Rust
Raw Normal View History

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