We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
slice/index.rs
1 parent bcbe2eb commit 762895dCopy full SHA for 762895d
tests/panic/oob_subslice.stderr
@@ -1,5 +1,5 @@
1
2
thread 'main' ($TID) panicked at tests/panic/oob_subslice.rs:LL:CC:
3
-range end index 5 out of range for slice of length 4
+range end index 4 out of range for slice of length 4
4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
5
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
0 commit comments