summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-4760.rs
blob: 08b06961760ffea769f92b9f65a71b993a73699c (plain)
1
2
3
4
5
6
7
8
9
const COUNT: usize = 2;
struct Thing;
trait Dummy {}

const _: () = {
    impl Dummy for Thing where [i32; COUNT]: Sized {}
};

fn main() {}