]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/const-len-underflow-separate-spans.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / const-len-underflow-separate-spans.rs
index 786c72b66f36fe812677a781aacf61f9f7a3d85d..9c6b774b99039811fb6482e80d2e98c649f5f6aa 100644 (file)
@@ -15,7 +15,7 @@
 const ONE: usize = 1;
 const TWO: usize = 2;
 const LEN: usize = ONE - TWO;
-//~^ ERROR array length constant evaluation error: attempted to sub with overflow [E0250]
+//~^ ERROR array length constant evaluation error: attempted to subtract with overflow [E0250]
 
 fn main() {
     let a: [i8; LEN] = unimplemented!();