Namespacing of member in impl #72980
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
enum namespacing
was introduced in RFC 390, which makes the following code compiles:However:
I think it would be usefule if we have namespacing of member in impl? I met this issue on using
bitflags
, which depends on the feature of declaring const value in an impl block. Without namespacing of impl member we get this result:The text was updated successfully, but these errors were encountered: