-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
shadowed traits from glob imports in the same scope get ignored #144993
Copy link
Copy link
Open
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
while glob imports from an outer/or nested scope do not
cc @petrochenkov. I want to make sure it's tracked somewhere outside of #144131. Also just really enjoyed learning about this current behavior and wanted to use my test somehow 😁
Originally posted by @lcnr in #144131 (comment)