]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const-err-multi.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / consts / const-err-multi.stderr
index 65427b8a1b289b91cffab39fedfb09a849f1a4ec..4ac4a8754d396ed521ffb87e1a4b0916817a58ad 100644 (file)
@@ -4,7 +4,7 @@ error: any use of this value will cause an error
 LL | pub const A: i8 = -std::i8::MIN;
    | ------------------^^^^^^^^^^^^^-
    |                   |
-   |                   attempt to negate with overflow
+   |                   attempt to negate i8::MIN which would overflow
    |
 note: the lint level is defined here
   --> $DIR/const-err-multi.rs:1:9