summary refs log tree commit diff
path: root/src/test/ui/consts/const-array-oob.stderr
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2020-09-15 20:34:50 +0100
committervarkor <github@varkor.com>2020-09-26 13:34:49 +0100
commit8eb42ba0fbd0326a8ffbe6ec2ff0abffaffa1a8f (patch)
tree31e563a5873cceb9977c1a5efc12c4a985a3bb62 /src/test/ui/consts/const-array-oob.stderr
parent6f9a8a7f9b9732c55511d2a2a3914e8feafc7c52 (diff)
downloadrust-8eb42ba0fbd0326a8ffbe6ec2ff0abffaffa1a8f.tar.gz
rust-8eb42ba0fbd0326a8ffbe6ec2ff0abffaffa1a8f.zip
Make invalid integer operation messages consistent
Diffstat (limited to 'src/test/ui/consts/const-array-oob.stderr')
-rw-r--r--src/test/ui/consts/const-array-oob.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/const-array-oob.stderr b/src/test/ui/consts/const-array-oob.stderr
index f25cac5cddd..1aa3e88e520 100644
--- a/src/test/ui/consts/const-array-oob.stderr
+++ b/src/test/ui/consts/const-array-oob.stderr
@@ -2,7 +2,7 @@ error[E0080]: evaluation of constant value failed
   --> $DIR/const-array-oob.rs:6:19
    |
 LL | const BLUB: [u32; FOO[4]] = [5, 6];
-   |                   ^^^^^^ 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
 
 error: aborting due to previous error