]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-67375.full.stderr
Rollup merge of #106707 - ehuss:remove-dupe-sha-1, r=Mark-Simulacrum
[rust.git] / tests / ui / const-generics / issues / issue-67375.full.stderr
1 error: overly complex generic constant
2   --> $DIR/issue-67375.rs:7:17
3    |
4 LL |     inner: [(); { [|_: &T| {}; 0].len() }],
5    |                 ^^---------------------^^
6    |                   |
7    |                   pointer casts are not allowed in generic constants
8    |
9    = help: consider moving this anonymous constant into a `const` function
10
11 error: aborting due to previous error
12