blob: 0cf69879a5c20fed0b30ab2f9524eb56a4424acf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error: overly complex generic constant
--> $DIR/issue-67375.rs:7:17
|
LL | inner: [(); { [|_: &T| {}; 0].len() }],
| ^^---------------------^^
| |
| pointer casts are not allowed in generic constants
|
= help: consider moving this anonymous constant into a `const` function
error: aborting due to previous error
|