diff options
| author | Jeremy Smart <jeremy3141592@gmail.com> | 2025-09-12 13:10:01 -0400 |
|---|---|---|
| committer | Jeremy Smart <jeremy3141592@gmail.com> | 2025-10-03 13:30:47 -0400 |
| commit | a9ab29cdb45005d69738c3a7cbec4c5cd0fceb73 (patch) | |
| tree | 71dfba6f16406878280423b1ff3fb09c5e3fbccc /tests/ui/consts/std/conjure_zst.stderr | |
| parent | f4665ab8368ad2e8a86d4390ae35c28bdd9561bb (diff) | |
| download | rust-a9ab29cdb45005d69738c3a7cbec4c5cd0fceb73.tar.gz rust-a9ab29cdb45005d69738c3a7cbec4c5cd0fceb73.zip | |
add mem::conjure_zst
Diffstat (limited to 'tests/ui/consts/std/conjure_zst.stderr')
| -rw-r--r-- | tests/ui/consts/std/conjure_zst.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/consts/std/conjure_zst.stderr b/tests/ui/consts/std/conjure_zst.stderr new file mode 100644 index 00000000000..0c4a978b81e --- /dev/null +++ b/tests/ui/consts/std/conjure_zst.stderr @@ -0,0 +1,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`. |
