]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-err-multi.stderr
Update tests to remove old numeric constants
[rust.git] / src / test / ui / consts / const-err-multi.stderr
index a0c91ff6b54f2be51998052b655fdb5c5e3de303..b3123b4e359284dd7fd6d621dfadbfe2ebe90eca 100644 (file)
@@ -1,10 +1,10 @@
 error: any use of this value will cause an error
   --> $DIR/const-err-multi.rs:3:19
    |
-LL | pub const A: i8 = -std::i8::MIN;
-   | ------------------^^^^^^^^^^^^^-
+LL | pub const A: i8 = -i8::MIN;
+   | ------------------^^^^^^^^-
    |                   |
-   |                   attempt to negate i8::MIN which would overflow
+   |                   attempt to negate `i8::MIN`, which would overflow
    |
 note: the lint level is defined here
   --> $DIR/const-err-multi.rs:1:9