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