Wrong error with const let #52613
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
I tried this code:
And got
Similar to #51251
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: