]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/array-literal-index-oob.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / consts / array-literal-index-oob.stderr
index 0ddc2a0e79cd35c8729ffb97329b49936f186745..f4d4e6f969b36a438e4598c98c1b6cabd9605d51 100644 (file)
@@ -12,7 +12,7 @@ error: reaching this expression at runtime will panic or abort
 LL |     &{[1, 2, 3][4]};
    |     --^^^^^^^^^^^^-
    |       |
-   |       index out of bounds: the len is 3 but the index is 4
+   |       indexing out of bounds: the len is 3 but the index is 4
 
 error: aborting due to 2 previous errors