rust/tests/ui/const_prop/const-prop-ice.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
304 B
Plaintext
Raw Normal View History

error: this operation will panic at runtime
--> $DIR/const-prop-ice.rs:4:5
|
2019-03-09 06:03:44 -06:00
LL | [0; 3][3u64 as usize];
| ^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 3
|
2020-02-18 15:49:47 -06:00
= note: `#[deny(unconditional_panic)]` on by default
error: aborting due to 1 previous error