Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/librustc_lint/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
UNUSED_PARENS);

add_lint_group!(sess,
"rust_2018_migration",
"rust_2018_idioms",
BARE_TRAIT_OBJECT,
UNREACHABLE_PUB,
UNNECESSARY_EXTERN_CRATE);
Expand Down
4 changes: 2 additions & 2 deletions src/libsyntax/edition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ impl fmt::Display for Edition {
impl Edition {
pub fn lint_name(&self) -> &'static str {
match *self {
Edition::Edition2015 => "rust_2015_breakage",
Edition::Edition2018 => "rust_2018_breakage",
Edition::Edition2015 => "rust_2015_compatibility",
Edition::Edition2018 => "rust_2018_compatibility",
}
}

Expand Down