about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-4760.rs
blob: 07387db7b294064df832d1f51e738d61fb6c169c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass

#![allow(non_local_definitions)]

const COUNT: usize = 2;
struct Thing;
trait Dummy {}

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

fn main() {}