| error[E0080]: evaluation panicked: cheese | |
| --> $DIR/const_panic.rs:8:15 | |
| | | |
| LL | const Z: () = std::panic!("cheese"); | |
| | ^^^^^^^^^^^^^^^^^^^^^ evaluation of `Z` failed here | |
| error[E0080]: evaluation panicked: explicit panic | |
| --> $DIR/const_panic.rs:11:16 | |
| | | |
| LL | const Z2: () = std::panic!(); | |
| | ^^^^^^^^^^^^^ evaluation of `Z2` failed here | |
| error[E0080]: evaluation panicked: internal error: entered unreachable code | |
| --> $DIR/const_panic.rs:14:15 | |
| | | |
| LL | const Y: () = std::unreachable!(); | |
| | ^^^^^^^^^^^^^^^^^^^ evaluation of `Y` failed here | |
| error[E0080]: evaluation panicked: not implemented | |
| --> $DIR/const_panic.rs:17:15 | |
| | | |
| LL | const X: () = std::unimplemented!(); | |
| | ^^^^^^^^^^^^^^^^^^^^^ evaluation of `X` failed here | |
| error[E0080]: evaluation panicked: hello | |
| --> $DIR/const_panic.rs:20:15 | |
| | | |
| LL | const W: () = std::panic!(MSG); | |
| | ^^^^^^^^^^^^^^^^ evaluation of `W` failed here | |
| error[E0080]: evaluation panicked: hello | |
| --> $DIR/const_panic.rs:23:16 | |
| | | |
| LL | const W2: () = std::panic!("{}", MSG); | |
| | ^^^^^^^^^^^^^^^^^^^^^^ evaluation of `W2` failed here | |
| error[E0080]: evaluation panicked: cheese | |
| --> $DIR/const_panic.rs:26:20 | |
| | | |
| LL | const Z_CORE: () = core::panic!("cheese"); | |
| | ^^^^^^^^^^^^^^^^^^^^^^ evaluation of `Z_CORE` failed here | |
| error[E0080]: evaluation panicked: explicit panic | |
| --> $DIR/const_panic.rs:29:21 | |
| | | |
| LL | const Z2_CORE: () = core::panic!(); | |
| | ^^^^^^^^^^^^^^ evaluation of `Z2_CORE` failed here | |
| error[E0080]: evaluation panicked: internal error: entered unreachable code | |
| --> $DIR/const_panic.rs:32:20 | |
| | | |
| LL | const Y_CORE: () = core::unreachable!(); | |
| | ^^^^^^^^^^^^^^^^^^^^ evaluation of `Y_CORE` failed here | |
| error[E0080]: evaluation panicked: not implemented | |
| --> $DIR/const_panic.rs:35:20 | |
| | | |
| LL | const X_CORE: () = core::unimplemented!(); | |
| | ^^^^^^^^^^^^^^^^^^^^^^ evaluation of `X_CORE` failed here | |
| error[E0080]: evaluation panicked: hello | |
| --> $DIR/const_panic.rs:38:20 | |
| | | |
| LL | const W_CORE: () = core::panic!(MSG); | |
| | ^^^^^^^^^^^^^^^^^ evaluation of `W_CORE` failed here | |
| error[E0080]: evaluation panicked: hello | |
| --> $DIR/const_panic.rs:41:21 | |
| | | |
| LL | const W2_CORE: () = core::panic!("{}", MSG); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `W2_CORE` failed here | |
| error[E0080]: the program aborted execution | |
| --> $DIR/const_panic.rs:44:19 | |
| | | |
| LL | const ABORT: () = core::process::crash(); | |
| | ^^^^^^^^^^^^^^^^^^^^^^ evaluation of `ABORT` failed inside this call | |
| | | |
| note: inside `crash` | |
| --> $SRC_DIR/core/src/process.rs:LL:COL | |
| error: aborting due to 13 previous errors | |
| For more information about this error, try `rustc --explain E0080`. |