mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
15 lines
466 B
Plaintext
15 lines
466 B
Plaintext
error: complex const arguments must be placed inside of a `const` block
|
|
--> $DIR/array_expr_arg_complex.rs:12:25
|
|
|
|
|
LL | takes_array::<{ [N, N + 1] }>();
|
|
| ^^^^^
|
|
|
|
error: complex const arguments must be placed inside of a `const` block
|
|
--> $DIR/array_expr_arg_complex.rs:13:37
|
|
|
|
|
LL | takes_tuple_with_array::<{ ([N, N + 1], N) }>();
|
|
| ^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|