rust/tests/ui/const-generics/issues/issue-67375.full.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
390 B
Plaintext
Raw Normal View History

error: overly complex generic constant
--> $DIR/issue-67375.rs:7:17
2020-10-03 17:00:18 +01:00
|
LL | inner: [(); { [|_: &T| {}; 0].len() }],
2021-09-16 15:01:22 -05:00
| ^^---------------------^^
2021-09-06 18:41:05 +01:00
| |
| pointer casts are not allowed in generic constants
2020-10-03 17:00:18 +01:00
|
= help: consider moving this anonymous constant into a `const` function
2020-10-03 17:00:18 +01:00
2021-10-12 22:47:34 +02:00
error: aborting due to previous error
2020-10-03 17:00:18 +01:00