-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Tracking Issue for -Z hint-mostly-unused #144055
Copy link
Copy link
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 fully implemented.Blocker: Approved by an accepted MCP but not yet fully 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.
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 fully implemented.Blocker: Approved by an accepted MCP but not yet fully 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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a tracking issue for the compiler flag
-Z hint-mostly-unusedAbout 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
-C hint-mostly-unusedoption compiler-team#829-Z hint-mostly-unusedoption to hint that most of a crate's API surface will be unused compiler-team#883-Z hint-mostly-unusedto tell rustc that most of a crate will go unused #135656Style updates for any new syntax (nightly-style-procedure)N/AUnresolved Questions
TODO
Implementation history
-Z hint-mostly-unusedto tell rustc that most of a crate will go unused #135656