blob: 2961c714d141523d2ff52dffddecef16eb612be1 [file] [log] [blame]
error: complex const arguments must be placed inside of a `const` block
--> $DIR/tuple_ctor_complex_args.rs:12:26
|
LL | with_point::<{ Point(N + 1, N) }>();
| ^^^^^
error: generic parameters may not be used in const operations
--> $DIR/tuple_ctor_complex_args.rs:15:34
|
LL | with_point::<{ Point(const { N + 1 }, N) }>();
| ^
|
= help: add `#![feature(opaque_generic_const_args)]` to allow generic expressions as the RHS of const items
error: aborting due to 2 previous errors