blob: 91e31ca0bd8b1d885b52b54c4e522a026a87b5e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: generic parameters may not be used in const operations
--> $DIR/issue-39559.rs:14:18
|
LL | entries: [T; D::dim()],
| ^^^^^^ cannot perform const operation using `D`
|
= note: type parameters may not be used in const expressions
= help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions
error: aborting due to previous error
|