]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-err-early.stderr
Update tests to remove old numeric constants
[rust.git] / src / test / ui / consts / const-err-early.stderr
index 36b36db7c18bcea5febd2d528c29c837183d222a..ec55139f173457afff11d1be64a337eac9702fc9 100644 (file)
@@ -1,8 +1,8 @@
 error: any use of this value will cause an error
   --> $DIR/const-err-early.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
    |