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

12 lines
175 B
Rust
Raw Normal View History

#![allow(non_local_definitions)]
const COUNT: usize = 2;
struct Thing;
trait Dummy {}
const _: () = {
impl Dummy for Thing where [i32; COUNT]: Sized {}
};
fn main() {}