Skip to content

Don't emit rustdoc missing_doc_code_examples lint on impl items#154048

Open
GuillaumeGomez wants to merge 2 commits intorust-lang:mainfrom
GuillaumeGomez:missing_doc_code_examples-improvement
Open

Don't emit rustdoc missing_doc_code_examples lint on impl items#154048
GuillaumeGomez wants to merge 2 commits intorust-lang:mainfrom
GuillaumeGomez:missing_doc_code_examples-improvement

Conversation

@GuillaumeGomez
Copy link
Member

@lolbinarycat realized in this comment that we weren't testing some cases for the missing_doc_code_examples lint. Turns out that it was not handling this case well. =D

So in short: missing_doc_code_examples lint should not be emitted on impl items and this PR fixes that.

r? @lolbinarycat

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Mar 18, 2026
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-rustdoc Relevant to the rustdoc 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