blob: b332f551fabb24609ea438e4a79719852671720e [file]
error: complex const arguments must be placed inside of a `const` block
--> $DIR/tuple_expr_arg_complex.rs:14:30
|
LL | takes_tuple::<{ gca!((N, N + 1)) }>();
| ^^^^^
error: complex const arguments must be placed inside of a `const` block
--> $DIR/tuple_expr_arg_complex.rs:15:30
|
LL | takes_tuple::<{ gca!((N, T::ASSOC + 1)) }>();
| ^^^^^^^^^^^^
error: complex const arguments must be placed inside of a `const` block
--> $DIR/tuple_expr_arg_complex.rs:17:41
|
LL | takes_nested_tuple::<{ gca!((N, (N, N + 1))) }>();
| ^^^^^
error: generic parameters may not be used in const operations
--> $DIR/tuple_expr_arg_complex.rs:18:49
|
LL | takes_nested_tuple::<{ gca!((N, (N, const { N + 1 }))) }>();
| ^
|
= help: add `#![feature(gca_const_items)]` and wrap the expression in the `gca!` macro
error: aborting due to 4 previous errors