about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval-fail-too-big.stderr
blob: d58efbf6d8c65f61827a8b3273bd8e771a304187 (plain)
1
2
3
4
5
6
7
8
9
error[E0080]: values of the type `[u8; usize::MAX]` are too big for the target architecture
  --> $DIR/const-eval-fail-too-big.rs:4:28
   |
LL |                    let x = [0u8; !0usize];
   |                            ^^^^^^^^^^^^^^ evaluation of `B::{constant#0}` failed here

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0080`.