mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 02:31:20 +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() {}
|