2025-05-28 10:29:08 +00:00
|
|
|
error[E0080]: evaluation panicked: explicit panic
|
2024-04-19 16:54:41 +01:00
|
|
|
--> $DIR/required-const.rs:6:17
|
2022-11-15 23:06:53 +00:00
|
|
|
|
|
|
|
|
|
LL | const { panic!() }
|
2025-05-30 14:06:35 +00:00
|
|
|
| ^^^^^^^^ evaluation of `foo::<i32>::{constant#0}` failed here
|
2022-11-15 23:06:53 +00:00
|
|
|
|
2024-03-14 08:09:21 +01:00
|
|
|
note: erroneous constant encountered
|
2024-04-19 16:54:41 +01:00
|
|
|
--> $DIR/required-const.rs:6:9
|
2024-03-14 08:09:21 +01:00
|
|
|
|
|
|
|
|
|
LL | const { panic!() }
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-11-15 23:06:53 +00:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|