]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const-eval/conditional_array_execution.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / conditional_array_execution.stderr
index 62f339809e431c0d3eccb9d986dcc207771094c6..65dfbd8097e7635659e592250c6a6215f7782442 100644 (file)
@@ -4,7 +4,7 @@ warning: any use of this value will cause an error
 LL | const FOO: u32 = [X - Y, Y - X][(X < Y) as usize];
    | ------------------^^^^^---------------------------
    |                   |
-   |                   attempt to compute `5_u32 - 6_u32` which would overflow
+   |                   attempt to compute `5_u32 - 6_u32`, which would overflow
    |
 note: the lint level is defined here
   --> $DIR/conditional_array_execution.rs:3:9