ambiguous name when glob importing an enum into a block when variant has same name as enum #131110
Labels
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
related: #102855
I tried this code:
I expected to see this happen: exact path shadows glob import
Instead, this happened: compile error:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: