Skip to content

Conversation

@Alexendoo
Copy link
Member

@Alexendoo Alexendoo commented Oct 28, 2025

Now only tokenizes the contents of code blocks instead of spawning a thread for a full parser

The language tag handling now correctly picks up things like rust, ignore

no_test (#10491) is no longer specially handled, rustdoc considers rust,no_test to be a regular test

changelog: [needless_doctest_main], [test_attr_in_doctest]: now handles whitespace in language tags

@rustbot
Copy link
Collaborator

rustbot commented Oct 28, 2025

Some changes occurred in clippy_lints/src/doc

cc @notriddle

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 28, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 28, 2025

r? @dswij

rustbot has assigned @dswij.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@github-actions
Copy link

Lintcheck changes for 0ff3a38

Lint Added Removed Changed
clippy::needless_doctest_main 2 24 11
clippy::test_attr_in_doctest 2 0 1

This comment will be updated if you push new changes

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants