Remove BorrowckMode::Compare
This commit is contained in:
parent
d15fc17381
commit
7da9eeeaa7
2 changed files with 2 additions and 7 deletions
|
@ -97,9 +97,8 @@ impl SuppressRegionErrors {
|
|||
// If we're on Migrate mode, report AST region errors
|
||||
BorrowckMode::Migrate => SuppressRegionErrors { suppressed: false },
|
||||
|
||||
// If we're on MIR or Compare mode, don't report AST region errors as they should
|
||||
// be reported by NLL
|
||||
BorrowckMode::Compare | BorrowckMode::Mir => SuppressRegionErrors { suppressed: true },
|
||||
// If we're on MIR don't report AST region errors as they should be reported by NLL
|
||||
BorrowckMode::Mir => SuppressRegionErrors { suppressed: true },
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue