Skip to content

Conversation

granddaifuku
Copy link
Contributor

@granddaifuku granddaifuku commented Jan 4, 2024

fixes #12042

This PR addresses the issue where the metadata collector incorrectly generates the Affected Lints section when a comma is included in the configuration documentation.

I made adjustments; however, if the /// Lint: SOMETHING section ends with . it always produces the correct output.
For example,

/// Lint: PUB_UNDERSCORE_FIELDS 

should be

/// Lint: PUB_UNDERSCORE_FIELDS. 

changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Jan 4, 2024

r? @Manishearth

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 4, 2024
@granddaifuku granddaifuku changed the title fix: metadata-collector listing lints fix: metadata-collector lists wrong affected lints Jan 4, 2024
@Manishearth
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jan 4, 2024

📌 Commit 9dcf926 has been approved by Manishearth

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jan 4, 2024

⌛ Testing commit 9dcf926 with merge 52ae262...

@bors
Copy link
Contributor

bors commented Jan 4, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Manishearth
Pushing 52ae262 to master...

@bors bors merged commit 52ae262 into rust-lang:master Jan 4, 2024
@granddaifuku granddaifuku deleted the fix/metadata-collector-lint-listing branch March 16, 2024 06:10
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

4 participants