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