diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-05-30 14:06:35 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-06-02 15:37:15 +0000 |
| commit | 020216c31c1e4f1f56a689df8f04580504354613 (patch) | |
| tree | 5e771521237db35d4e4a0abf057f3bf4c5f55880 /tests/ui/array-slice-vec/array_const_index-1.stderr | |
| parent | b331b8b96d86a6433df957a3cc49ed51f3656135 (diff) | |
| download | rust-020216c31c1e4f1f56a689df8f04580504354613.tar.gz rust-020216c31c1e4f1f56a689df8f04580504354613.zip | |
Clarify why we are talking about a failed const eval at a random place
Diffstat (limited to 'tests/ui/array-slice-vec/array_const_index-1.stderr')
| -rw-r--r-- | tests/ui/array-slice-vec/array_const_index-1.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/array-slice-vec/array_const_index-1.stderr b/tests/ui/array-slice-vec/array_const_index-1.stderr index d3db75bd061..56299848d92 100644 --- a/tests/ui/array-slice-vec/array_const_index-1.stderr +++ b/tests/ui/array-slice-vec/array_const_index-1.stderr @@ -2,7 +2,7 @@ error[E0080]: index out of bounds: the length is 0 but the index is 1 --> $DIR/array_const_index-1.rs:2:16 | LL | const B: i32 = A[1]; - | ^^^^ evaluation of constant value failed + | ^^^^ evaluation of constant value failed here error: aborting due to 1 previous error |
