mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
9 lines
290 B
Plaintext
9 lines
290 B
Plaintext
error: complex const arguments must be placed inside of a `const` block
|
|
--> $DIR/array-expr-complex.rs:11:52
|
|
|
|
|
LL | takes_array::<{ core::direct_const_arg!([1, 2, 1 + 2]) }>();
|
|
| ^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|