From 762895d624a5d6a673481772b94ec46759328d44 Mon Sep 17 00:00:00 2001 From: Karl Meakin Date: Fri, 25 Jul 2025 22:17:24 +0100 Subject: [PATCH 1/2] Consolidate panicking functions in `slice/index.rs` Consolidate all the panicking functions in `slice/index.rs` to use a single `slice_index_fail` function, similar to how it is done in `str/traits.rs`. --- tests/panic/oob_subslice.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/panic/oob_subslice.stderr b/tests/panic/oob_subslice.stderr index f8270f4ad4..e1e5bd33d3 100644 --- a/tests/panic/oob_subslice.stderr +++ b/tests/panic/oob_subslice.stderr @@ -1,5 +1,5 @@ thread 'main' ($TID) panicked at tests/panic/oob_subslice.rs:LL:CC: -range end index 5 out of range for slice of length 4 +range end index 4 out of range for slice of length 4 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect From 8f1b4797c1a1bdf251efdf5f746e1a32ee67c5d2 Mon Sep 17 00:00:00 2001 From: The Miri Cronjob Bot Date: Fri, 22 Aug 2025 04:54:12 +0000 Subject: [PATCH 2/2] Prepare for merging from rust-lang/rust This updates the rust-version file to 8e3710ef31a0b2cdf5a1c2f3929b7735d1e28c20. --- rust-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-version b/rust-version index 85ce9ed79f..d0757e58bf 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -125ff8a788c5d6a66917f499abdc00051afe6886 +8e3710ef31a0b2cdf5a1c2f3929b7735d1e28c20