Skip to content

Commit 654e35b

Browse files
committed
rewrite text
1 parent c0b2f89 commit 654e35b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lints/unconditionally_sealed_trait_became_unsealed.ron

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SemverQuery(
22
id: "unconditionally_sealed_trait_became_unsealed",
3-
human_readable_name: "Unconditionally sealed trait became unsealed",
4-
description: "An unconditionally sealed trait is now unsealed, allowing downstream crates to implement it. Reverting this in the future would be a breaking change.",
3+
human_readable_name: "unconditionally sealed trait became unsealed",
4+
description: "An unconditionally sealed trait became unsealed, allowing downstream crates to implement it. Reverting this would be a major breaking change.",
55
required_update: Minor,
66
lint_level: Warn,
77
reference_link: Some("https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed"),
@@ -48,7 +48,7 @@ SemverQuery(
4848
"public": "public",
4949
"true": true,
5050
},
51-
error_message: "An unconditionally sealed trait is now unsealed, allowing downstream crates to implement it. Resealing it later would be a breaking change.",
51+
error_message: "An unconditionally sealed trait became unsealed, allowing downstream crates to implement it. Reverting this would be a major breaking change.",
5252
per_result_error_template: Some("trait {{join \"::\" path}} in file {{span_filename}}:{{span_begin_line}}"),
5353
witness: None,
5454
)

0 commit comments

Comments
 (0)