mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
11 lines
302 B
Plaintext
11 lines
302 B
Plaintext
error: this operation will panic at runtime
|
|
--> $DIR/const-prop-ice.rs:4:5
|
|
|
|
|
LL | [0; 3][3u64 as usize];
|
|
| ^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 3
|
|
|
|
|
= note: `#[deny(unconditional_panic)]` on by default
|
|
|
|
error: aborting due to previous error
|
|
|