rust/tests/ui/consts/const-assert-unchecked-ub.stderr

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

10 lines
329 B
Plaintext
Raw Normal View History

2023-12-19 19:00:26 +00:00
error[E0080]: evaluation of constant value failed
--> $DIR/const-assert-unchecked-ub.rs:6:5
|
LL | std::hint::assert_unchecked(n < 32);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `assume` called with `false`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.