blob: 8b7de918889712bbca066432eb616f7cb1ac961e [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(gca_const_items)]` and wrap the expression in the `gca!` macro
error: aborting due to 1 previous error