about summary refs log tree commit diff
path: root/src/test/ui/consts/const-array-oob.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-array-oob.rs')
-rw-r--r--src/test/ui/consts/const-array-oob.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/const-array-oob.rs b/src/test/ui/consts/const-array-oob.rs
index 1174a76adab..eca2fe18ab9 100644
--- a/src/test/ui/consts/const-array-oob.rs
+++ b/src/test/ui/consts/const-array-oob.rs
@@ -5,7 +5,7 @@ const BAR: usize = FOO[5]; // no error, because the error below occurs before re
 
 const BLUB: [u32; FOO[4]] = [5, 6];
 //~^ ERROR evaluation of constant value failed [E0080]
-//~| index out of bounds: the len is 3 but the index is 4
+//~| index out of bounds: the length is 3 but the index is 4
 
 fn main() {
     let _ = BAR;