1 error[E0080]: evaluation of constant value failed
2 --> $SRC_DIR/core/src/hint.rs:LL:COL
4 LL | intrinsics::unreachable()
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^ entering unreachable code
7 note: inside `unreachable_unchecked`
8 --> $SRC_DIR/core/src/hint.rs:LL:COL
10 LL | intrinsics::unreachable()
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^
13 --> $DIR/const_unsafe_unreachable_ub.rs:6:18
15 LL | false => std::hint::unreachable_unchecked(),
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 --> $DIR/const_unsafe_unreachable_ub.rs:10:28
20 LL | const BAR: bool = unsafe { foo(false) };
23 error: aborting due to previous error
25 For more information about this error, try `rustc --explain E0080`.