Skip to content

Commit

Permalink
Rename breakage lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed May 4, 2018
1 parent 7485903 commit 10f66c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libsyntax/edition.rs
Expand Up @@ -50,8 +50,8 @@ impl fmt::Display for Edition {
impl Edition {
pub fn lint_name(&self) -> &'static str {
match *self {
Edition::Edition2015 => "edition_2015",
Edition::Edition2018 => "edition_2018",
Edition::Edition2015 => "rust_2015_breakage",
Edition::Edition2018 => "rust_2018_breakage",
}
}

Expand Down

0 comments on commit 10f66c7

Please sign in to comment.