about summary refs log tree commit diff
path: root/tests/ui/consts/std/conjure_zst.stderr
blob: 0c4a978b81ee6585493fce2c6bbef9b33206165a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0080]: evaluation panicked: aborted execution: attempted to instantiate uninhabited type `Infallible`
  --> $DIR/conjure_zst.rs:5:38
   |
LL | const INVALID: Infallible = unsafe { mem::conjure_zst() };
   |                                      ^^^^^^^^^^^^^^^^^^ evaluation of `INVALID` failed inside this call
   |
note: inside `conjure_zst::<Infallible>`
  --> $SRC_DIR/core/src/mem/mod.rs:LL:COL

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0080`.