Rename breakage lints

This commit is contained in:
Manish Goregaokar 2018-05-04 11:01:08 -07:00
parent 7485903b6b
commit 10f66c7172

View File

@ -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",
}
}