-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
-Zhint-mostly-unusedUnstable flag: -Z hint-mostly-unusedUnstable flag: -Z hint-mostly-unusedB-MCP-approvedBlocker: Approved by an accepted MCP but not yet implemented.Blocker: Approved by an accepted MCP but not yet implemented.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
This is a tracking issue for the compiler flag -Z hint-mostly-unused
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
- Open an MCP.
- Implement initially as an unstable compiler flag: Add
-Z hint-mostly-unused
to tell rustc that most of a crate will go unused #135656 - Adjust documentation
-
Style updates for any new syntax (nightly-style-procedure)N/A - Stabilization PR (see instructions on rustc-dev-guide)
Unresolved Questions
TODO
Implementation history
Metadata
Metadata
Assignees
Labels
-Zhint-mostly-unusedUnstable flag: -Z hint-mostly-unusedUnstable flag: -Z hint-mostly-unusedB-MCP-approvedBlocker: Approved by an accepted MCP but not yet implemented.Blocker: Approved by an accepted MCP but not yet implemented.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.