rust/tests/ui/generic-const-items/unsatisfied-evaluatable-bounds.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
334 B
Plaintext
Raw Normal View History

2023-07-09 20:10:03 -05:00
error[E0080]: evaluation of `POSITIVE::<0>::{constant#0}` failed
--> $DIR/unsatisfied-evaluatable-bounds.rs:8:10
|
LL | [(); N - 1]:;
| ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
error: aborting due to 1 previous error
2023-07-09 20:10:03 -05:00
For more information about this error, try `rustc --explain E0080`.