mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
11 lines
298 B
Plaintext
11 lines
298 B
Plaintext
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
|
|
|