"Foo is ambiguous" even though it's not #62768
Labels
A-resolve
Area: Name resolution
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
playpen
Given the following code:
The compiler claims, that the
Foo
inuse Foo::*
could either mean the typefoo::Foo
imported byuse foo::*
, or the variant (value)Foo::Foo
imported byuse Foo::*
:How can a name refer to something that's not imported yet?
The text was updated successfully, but these errors were encountered: