]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const-slice-oob.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / consts / const-slice-oob.stderr
index 7e191a6336144e92fe37c2bbc6baa786844f574e..0077bafe9e628fe5bc42a6730cd43d4aae12a77a 100644 (file)
@@ -4,7 +4,7 @@ error: any use of this value will cause an error
 LL | const BAR: u32 = FOO[5];
    | -----------------^^^^^^-
    |                  |
-   |                  index out of bounds: the len is 3 but the index is 5
+   |                  index out of bounds: the length is 3 but the index is 5
    |
    = note: `#[deny(const_err)]` on by default