summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/issues/issue-67375.full.stderr
blob: 13cb8d1cd6866d7553e32597a2ba26c9f307df63 (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