Landing: 75b8ea98d881

Project / Subsystem

gcc / gccrs

Date

2026-06-26

Author

Lucas Ly Ba

Commit

75b8ea98d881658c589a612d1d3f5832e007b5e8

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
75b8ea98d881658c589a612d1d3f5832e007b5e8
source_type
github
headline
gccrs: Add unused doc comment lint
tldr
Introduces a new lint to detect and warn about unused documentation comments in Rust code.
author
Lucas Ly Ba
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • lint
  • • quality
discussion_id_link
—
bugzilla_pr
—
date
2026-06-26T00:00:00.000Z

A new lint has been added to the Rust compiler frontend to identify and report documentation comments that are present in the source code but are not associated with any item (like functions, structs, or modules). This helps maintain code cleanliness by flagging potentially unnecessary comments that do not serve a purpose.