Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed Aug 28, 2024
1 parent d1974fe commit 4e1471c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lints/trait_added_supertrait.ron
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SemverQuery(
description: "A non-sealed trait added one or more supertraits, which breaks downstream implementations of the trait",
required_update: Major,
lint_level: Deny,
reference_link: None, // TODO
reference_link: Some("doc.rust-lang.org/cargo/reference/semver.html#generic-bounds-tighten"),
query: r#"
{
CrateDiff {
Expand Down Expand Up @@ -54,5 +54,5 @@ SemverQuery(
"zero": 0,
},
error_message: "A non-sealed trait added one or more supertraits, which breaks downstream implementations of the trait",
per_result_error_template: Some("trait {{join \"::\" path}} has gained {{supertrait}} in file {{span_filename}}:{{span_begin_line}}"),
per_result_error_template: Some("trait {{join \"::\" path}} gained {{supertrait}} in file {{span_filename}}:{{span_begin_line}}"),
)

0 comments on commit 4e1471c

Please sign in to comment.