Skip to content

Some small nits for supertrait_item_shadowing, and additional testing#155172

Open
jackh726 wants to merge 1 commit intorust-lang:mainfrom
jackh726:supertrait-shadowing-cleanup
Open

Some small nits for supertrait_item_shadowing, and additional testing#155172
jackh726 wants to merge 1 commit intorust-lang:mainfrom
jackh726:supertrait-shadowing-cleanup

Conversation

@jackh726
Copy link
Copy Markdown
Member

@jackh726 jackh726 commented Apr 11, 2026

cc #89151

r? types

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 11, 2026
Comment on lines +26 to +27
//[off_normal,off_shadowing]~^ WARN a method with this name may be added
//[off_normal,off_shadowing]~| WARN once this associated item is added
Copy link
Copy Markdown
Member Author

@jackh726 jackh726 Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View changes since the review

So, looking at this, we may want to not lint when shadowing is enabled. Though, maybe we do, because behavior will change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants