]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const-generics/issues/issue-72819-generic-in-const-eval.full.stderr
Update tests to remove old numeric constants
[rust.git] / src / test / ui / const-generics / issues / issue-72819-generic-in-const-eval.full.stderr
index e4105a3df1c88f26f1c19bf7933354060ad45fb2..b499400472153727cffe0974653311db1afe7bc4 100644 (file)
@@ -1,8 +1,8 @@
 error: constant expression depends on a generic parameter
-  --> $DIR/issue-72819-generic-in-const-eval.rs:9:47
+  --> $DIR/issue-72819-generic-in-const-eval.rs:9:39
    |
-LL | where Assert::<{N < usize::max_value() / 2}>: IsTrue,
-   |                                               ^^^^^^
+LL | where Assert::<{N < usize::MAX / 2}>: IsTrue,
+   |                                       ^^^^^^
    |
    = note: this may fail depending on what value the parameter takes