migrate dead.rs to translateable diagnostics
This commit is contained in:
parent
f0afb88302
commit
a7aa1850b2
4 changed files with 20 additions and 17 deletions
|
@ -988,11 +988,7 @@ impl Handler {
|
|||
}
|
||||
|
||||
pub fn has_errors(&self) -> Option<ErrorGuaranteed> {
|
||||
if self.inner.borrow().has_errors() {
|
||||
Some(ErrorGuaranteed(()))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
if self.inner.borrow().has_errors() { Some(ErrorGuaranteed(())) } else { None }
|
||||
}
|
||||
pub fn has_errors_or_lint_errors(&self) -> Option<ErrorGuaranteed> {
|
||||
if self.inner.borrow().has_errors_or_lint_errors() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue