mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 17:07:36 +00:00
13 lines
287 B
Rust
13 lines
287 B
Rust
![]() |
//Error output test for #78834: Type is too big for the target architecture
|
||
|
struct B<
|
||
|
A: Sized = [(); {
|
||
|
let x = [0u8; !0usize];
|
||
|
//~^ ERROR evaluation of constant value failed
|
||
|
1
|
||
|
}],
|
||
|
> {
|
||
|
a: A,
|
||
|
}
|
||
|
|
||
|
fn main() {}
|