blob: 96e0f1b0e1fc160a590fec06e1f477963828ff88 (
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 1 previous error
|