rust/tests/ui/consts/const-eval-fail-too-big.stderr

10 lines
381 B
Plaintext

error[E0080]: evaluation of constant value failed
--> $DIR/const-eval-fail-too-big.rs:4:28
|
LL | let x = [0u8; !0usize];
| ^^^^^^^^^^^^^^ values of the type `[u8; usize::MAX]` are too big for the target architecture
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.