]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/intrinsics/uninit_uninhabited_type.stderr
Auto merge of #105416 - nnethercote:more-linting-tweaks, r=cjgillot
[rust.git] / src / tools / miri / tests / fail / intrinsics / uninit_uninhabited_type.stderr
1 error: abnormal termination: aborted execution: attempted to instantiate uninhabited type `!`
2   --> $DIR/uninit_uninhabited_type.rs:LL:CC
3    |
4 LL |     unsafe { std::mem::uninitialized::<!>() };
5    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aborted execution: attempted to instantiate uninhabited type `!`
6    |
7    = note: inside `main` at $DIR/uninit_uninhabited_type.rs:LL:CC
8
9 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
10
11 error: aborting due to previous error
12