2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-02-01 23:40:17 +00:00
|
|
|
--> $DIR/const_panic.rs:7:15
|
2018-08-13 11:48:47 +00:00
|
|
|
|
|
2020-10-18 12:34:30 +00:00
|
|
|
LL | const Z: () = std::panic!("cheese");
|
2021-06-15 23:16:10 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'cheese', $DIR/const_panic.rs:7:15
|
2018-08-13 11:48:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-13 11:48:47 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-05-26 01:54:59 +00:00
|
|
|
--> $DIR/const_panic.rs:10:16
|
2018-08-13 11:48:47 +00:00
|
|
|
|
|
2020-10-18 12:34:30 +00:00
|
|
|
LL | const Z2: () = std::panic!();
|
2021-06-15 23:16:10 +00:00
|
|
|
| ^^^^^^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:10:16
|
2018-08-13 11:48:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-13 11:48:47 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-05-26 01:54:59 +00:00
|
|
|
--> $DIR/const_panic.rs:13:15
|
2018-08-13 11:48:47 +00:00
|
|
|
|
|
2020-10-18 12:34:30 +00:00
|
|
|
LL | const Y: () = std::unreachable!();
|
2021-06-15 23:16:10 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:13:15
|
2018-08-13 11:48:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-13 11:48:47 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-05-26 01:54:59 +00:00
|
|
|
--> $DIR/const_panic.rs:16:15
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
|
|
|
LL | const X: () = std::unimplemented!();
|
2021-06-15 23:16:10 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:16:15
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-18 12:34:30 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-05-26 01:54:59 +00:00
|
|
|
--> $DIR/const_panic.rs:19:15
|
2020-10-18 13:02:42 +00:00
|
|
|
|
|
|
|
|
LL | const W: () = std::panic!(MSG);
|
2021-06-15 23:16:10 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:19:15
|
2020-10-18 13:02:42 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-18 13:02:42 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-09-14 18:14:37 +00:00
|
|
|
--> $DIR/const_panic.rs:22:16
|
|
|
|
|
|
|
|
|
LL | const W2: () = std::panic!("{}", MSG);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:22:16
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const_panic.rs:25:20
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
|
|
|
LL | const Z_CORE: () = core::panic!("cheese");
|
2021-09-14 18:14:37 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'cheese', $DIR/const_panic.rs:25:20
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-18 12:34:30 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-09-14 18:14:37 +00:00
|
|
|
--> $DIR/const_panic.rs:28:21
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
|
|
|
LL | const Z2_CORE: () = core::panic!();
|
2021-09-14 18:14:37 +00:00
|
|
|
| ^^^^^^^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:28:21
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-18 12:34:30 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-09-14 18:14:37 +00:00
|
|
|
--> $DIR/const_panic.rs:31:20
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
|
|
|
LL | const Y_CORE: () = core::unreachable!();
|
2021-09-14 18:14:37 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:31:20
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-18 12:34:30 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-09-14 18:14:37 +00:00
|
|
|
--> $DIR/const_panic.rs:34:20
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
|
|
|
LL | const X_CORE: () = core::unimplemented!();
|
2021-09-14 18:14:37 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:34:20
|
2020-10-18 13:02:42 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-18 13:02:42 +00:00
|
|
|
|
2021-06-15 23:16:10 +00:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2021-09-14 18:14:37 +00:00
|
|
|
--> $DIR/const_panic.rs:37:20
|
2020-10-18 13:02:42 +00:00
|
|
|
|
|
|
|
|
LL | const W_CORE: () = core::panic!(MSG);
|
2021-09-14 18:14:37 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:37:20
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const_panic.rs:40:21
|
|
|
|
|
|
|
|
|
LL | const W2_CORE: () = core::panic!("{}", MSG);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:40:21
|
2020-10-18 12:34:30 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-18 12:34:30 +00:00
|
|
|
|
2021-09-14 18:14:37 +00:00
|
|
|
error: aborting due to 12 previous errors
|
2018-08-13 11:48:47 +00:00
|
|
|
|
2021-05-26 01:54:59 +00:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|