about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval-fail-too-big.rs
blob: b14505135fb5200b8178d594bacb0ce351d08372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Error output test for #78834: Type is too big for the target architecture
struct B<
    A: Sized = [(); {
                   let x = [0u8; !0usize];
                   //~^ ERROR too big for the target architecture
                   1
               }],
> {
    a: A,
}

fn main() {}