mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Add comment for future_incompatible lint group
This commit is contained in:
parent
0e28575909
commit
f0d7280ff3
@ -221,6 +221,9 @@ impl LintStore {
|
||||
.lint_ids
|
||||
.push(id);
|
||||
} else {
|
||||
// Lints belonging to the `future_incompatible` lint group are lints where a
|
||||
// future version of rustc will cause existing code to stop compiling.
|
||||
// Lints tied to an edition don't count because they are opt-in.
|
||||
self.lint_groups
|
||||
.entry("future_incompatible")
|
||||
.or_insert(LintGroup {
|
||||
|
Loading…
Reference in New Issue
Block a user