1 error: any use of this value will cause an error
2 --> $SRC_DIR/libcore/hint.rs:LL:COL
4 LL | unsafe { intrinsics::unreachable() }
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^
7 | entering unreachable code
8 | inside `std::hint::unreachable_unchecked` at $SRC_DIR/libcore/hint.rs:LL:COL
9 | inside `foo` at $DIR/const_unsafe_unreachable_ub.rs:7:18
10 | inside `BAR` at $DIR/const_unsafe_unreachable_ub.rs:11:28
12 ::: $DIR/const_unsafe_unreachable_ub.rs:11:1
14 LL | const BAR: bool = unsafe { foo(false) };
15 | ----------------------------------------
17 = note: `#[deny(const_err)]` on by default
19 error: aborting due to previous error