mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
9 lines
241 B
Plaintext
9 lines
241 B
Plaintext
error: complex const arguments must be placed inside of a `const` block
|
|
--> $DIR/array-expr-complex.rs:11:28
|
|
|
|
|
LL | takes_array::<{ [1, 2, 1 + 2] }>();
|
|
| ^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|