Only include lint in future_incompatible lint group if not an edition lint
This commit is contained in:
parent
451e98e7b0
commit
0e28575909
3 changed files with 42 additions and 21 deletions
|
@ -220,17 +220,17 @@ impl LintStore {
|
|||
})
|
||||
.lint_ids
|
||||
.push(id);
|
||||
} else {
|
||||
self.lint_groups
|
||||
.entry("future_incompatible")
|
||||
.or_insert(LintGroup {
|
||||
lint_ids: vec![],
|
||||
from_plugin: lint.is_plugin,
|
||||
depr: None,
|
||||
})
|
||||
.lint_ids
|
||||
.push(id);
|
||||
}
|
||||
|
||||
self.lint_groups
|
||||
.entry("future_incompatible")
|
||||
.or_insert(LintGroup {
|
||||
lint_ids: vec![],
|
||||
from_plugin: lint.is_plugin,
|
||||
depr: None,
|
||||
})
|
||||
.lint_ids
|
||||
.push(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue