Skip to content

Commit

Permalink
Update lint diagnostic text.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Dec 1, 2024
1 parent 6fe7a8b commit 72fc4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lints/feature_missing.ron
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SemverQuery(
"unstable_feature_pattern": "^(?:unstable|nightly|bench)(?:[-_].*)?$",
"underscore": "_",
},
error_message: "A feature has been removed from this package's Cargo.toml. This will break downstream crates that enable this feature.",
error_message: "A feature has been removed from this package's Cargo.toml. This will break downstream crates which enable that feature.",
per_result_error_template: Some("feature {{name}} in the package's Cargo.toml"),
// TODO: It's currently not possible to write witnesses for manifest lints,
// since we'd need to generate a *Cargo.toml* witness instead of a Rust code witness.
Expand Down

0 comments on commit 72fc4fc

Please sign in to comment.