Cannot use visibility modified in associated item declared inside const argument. #89342
Labels
A-associated-items
Area: Associated items (types, constants & functions)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected the code to compile
Instead, the compiler errored with this message:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: