blob: 11e23efb4a1275bffc3a8cbf356b912511432bbe [file]
error: generic parameters may not be used in const operations
--> $DIR/selftyparam.rs:5:37
|
LL | fn foo() -> [(); const { let _: Self; 1 }];
| ^^^^
|
= help: add `#![feature(generic_const_args)]` and extract the expression into a `type const` item
error: aborting due to 1 previous error