Lint references to features not defined in Cargo.toml #1614
Labels
A-lint
Area: New lints
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
L-style
Lint: Belongs in the style lint group
S-needs-discussion
Status: Needs further discussion before merging or work can be started
T-cargo
Type: cargo related
For example, a
#[cfg(feature = "blah")]
whenblah
isn't in the[features]
or[dependencies]
sections of Cargo.toml. This may require some people to put ablah = []
thing in the[features]
section but I think it'd be worthwhile as a warn-by-default.The text was updated successfully, but these errors were encountered: