about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/array_const_index-1.stderr
diff options
context:
space:
mode:
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.stderr2
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 591db268a99..f9ba2f13911 100644
--- a/tests/ui/array-slice-vec/array_const_index-1.stderr
+++ b/tests/ui/array-slice-vec/array_const_index-1.stderr
@@ -4,6 +4,6 @@ error[E0080]: evaluation of constant value failed
 LL | const B: i32 = A[1];
    |                ^^^^ index out of bounds: the length is 0 but the index is 1
 
-error: aborting due to previous error
+error: aborting due to 1 previous error
 
 For more information about this error, try `rustc --explain E0080`.