-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-future-incompatibilityCategory: Future-incompatibility lintsCategory: Future-incompatibility lintsC-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.T-langRelevant to the language teamRelevant to the language team
Description
What is this lint about
When some feature is unstable, but was allowed on stable due to some stability checking hole or oversight we may unstabilize it in a "soft" way to avoid breaking crates depending on the crates using the feature.
This soft unstabilization can be done using this lint.
Features that are currently emitting this lint
The #[bench]
attribute
Tracking issue: #50297
Features that were previously emitting this lint
RustcEncodable & RustcDecodable
Tracking issue: #134301
- Soft-destabilize
RustcEncodable
&RustcDecodable
, remove from prelude in next edition #116016 - Remove rustc_encodable_decodable feature #134272
Inner #![test]
and #![rustfmt::skip]
Tracking issue: #54726
- rustc_expand: Mark inner
#![test]
attributes as soft-unstable #79003 - expand: Resolve and expand inner attributes on out-of-line modules #82399
- fully de-stabilize all custom inner attributes #134276
Before adding new features here, read this
We should really support a separate tracking issue for each case of a soft-unstable feature; having them all point here doesn't make a ton of sense.
Metadata
Metadata
Assignees
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-future-incompatibilityCategory: Future-incompatibility lintsCategory: Future-incompatibility lintsC-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.T-langRelevant to the language teamRelevant to the language team
Type
Projects
Status
Idea
Milestone
Relationships
Development
Select code repository
Activity
lqd commentedon Oct 4, 2019
#[deny(soft_unstable)]
is on by default, but the error message (playground) still has a lint-like note warning mentioning it will become a hard error in the future:do we need an issue for this ?
rustc_ast_passes
, move gating, & refactor linting #67806GateStrength
#68018Rollup merge of rust-lang#68018 - petrochenkov:nosoft, r=Centril
Rollup merge of rust-lang#68018 - petrochenkov:nosoft, r=Centril
Temporarily silence a Rust error
Temporarily silence a Rust error
20 remaining items