diff options
Diffstat (limited to 'src/test/ui/array_const_index-1.rs')
| -rw-r--r-- | src/test/ui/array_const_index-1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/array_const_index-1.rs b/src/test/ui/array_const_index-1.rs index 1f77cb6a392..d0ee1796c0f 100644 --- a/src/test/ui/array_const_index-1.rs +++ b/src/test/ui/array_const_index-1.rs @@ -1,6 +1,6 @@ const A: [i32; 0] = []; const B: i32 = A[1]; -//~^ index out of bounds: the len is 0 but the index is 1 +//~^ index out of bounds: the length is 0 but the index is 1 //~| ERROR any use of this value will cause an error fn main() { |
