]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/assume-type-intrinsics.stderr
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[rust.git] / src / test / ui / consts / assume-type-intrinsics.stderr
1 error: any use of this value will cause an error
2   --> $DIR/assume-type-intrinsics.rs:11:9
3    |
4 LL | /     const _BAD: () = unsafe {
5 LL | |         MaybeUninit::<!>::uninit().assume_init();
6    | |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aborted execution: attempted to instantiate uninhabited type `!`
7 LL | |     };
8    | |______-
9    |
10    = note: `#[deny(const_err)]` on by default
11    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
12    = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
13
14 error: aborting due to previous error
15