A problem with inline_const feature in ranges #78108
Labels
A-parser
Area: The parsing of Rust source code to an AST
A-patterns
Relating to patterns and pattern matching
C-bug
Category: This is a bug.
F-inline_const
Inline constants (aka: const blocks, const expressions, anonymous constants)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
As soon as I've seen the new inline_const feature, I've tried to find some use cases for it in my code, and I did find only very few of them, unfortunately, and one of the two uses cases could be reduced to this:
That gives errors:
So I am not sure if this is a bug report or an enhancement request.
The text was updated successfully, but these errors were encountered: