Rename breakage lints
This commit is contained in:
parent
7485903b6b
commit
10f66c7172
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue