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