rust/tests/ui/lint/unconditional_panic_98444.stderr

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

11 lines
298 B
Plaintext
Raw Normal View History

2023-03-06 07:41:07 -06:00
error: this operation will panic at runtime
--> $DIR/unconditional_panic_98444.rs:6:13
|
LL | let _ = xs[7];
| ^^^^^ index out of bounds: the length is 5 but the index is 7
|
= note: `#[deny(unconditional_panic)]` on by default
error: aborting due to previous error