about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/array_const_index-0.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-04-05 19:19:56 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-04-08 23:06:31 +0300
commitb3f75353a237f3623483c1e237be480140a8c3e1 (patch)
treea769f4d38cf7d807a27d8685f26d77db3b0b5f91 /tests/ui/array-slice-vec/array_const_index-0.rs
parentd4f880f8ce832cd7560bb2f1ebc34f967055ffd7 (diff)
downloadrust-b3f75353a237f3623483c1e237be480140a8c3e1.tar.gz
rust-b3f75353a237f3623483c1e237be480140a8c3e1.zip
UI tests: add missing diagnostic kinds where possible
Diffstat (limited to 'tests/ui/array-slice-vec/array_const_index-0.rs')
-rw-r--r--tests/ui/array-slice-vec/array_const_index-0.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/array-slice-vec/array_const_index-0.rs b/tests/ui/array-slice-vec/array_const_index-0.rs
index 96755802ec7..f4fe89a50c2 100644
--- a/tests/ui/array-slice-vec/array_const_index-0.rs
+++ b/tests/ui/array-slice-vec/array_const_index-0.rs
@@ -1,6 +1,6 @@
 const A: &'static [i32] = &[];
 const B: i32 = (&A)[1];
-//~^ index out of bounds: the length is 0 but the index is 1
+//~^ NOTE index out of bounds: the length is 0 but the index is 1
 //~| ERROR evaluation of constant value failed
 
 fn main() {