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
302 B
Plaintext
Raw Normal View History

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