2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2019-10-11 16:13:38 -05:00
|
|
|
--> $DIR/const-external-macro-const-err.rs:12:5
|
|
|
|
|
|
|
|
|
LL | static_assert!(2 + 2 == 5);
|
2021-10-14 13:28:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
|
2019-10-11 16:13:38 -05:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `static_assert` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-10-11 16:13:38 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|