Compute lint_levels
by definition
This commit is contained in:
parent
6019cbbfd3
commit
3cb1811e45
13 changed files with 482 additions and 334 deletions
|
@ -1211,7 +1211,7 @@ impl HandlerInner {
|
|||
|
||||
if let Some(expectation_id) = diagnostic.level.get_expectation_id() {
|
||||
self.suppressed_expected_diag = true;
|
||||
self.fulfilled_expectations.insert(expectation_id);
|
||||
self.fulfilled_expectations.insert(expectation_id.normalize());
|
||||
}
|
||||
|
||||
if matches!(diagnostic.level, Warning(_))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue