mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Rename TyKind::Unknown to Error
This commit is contained in:
parent
d8ee25bb97
commit
65c2e51940
14 changed files with 48 additions and 48 deletions
|
@ -300,7 +300,7 @@ impl Ty {
|
|||
}
|
||||
|
||||
pub fn is_unknown(&self) -> bool {
|
||||
matches!(self.kind(&Interner), TyKind::Unknown)
|
||||
matches!(self.kind(&Interner), TyKind::Error)
|
||||
}
|
||||
|
||||
pub fn equals_ctor(&self, other: &Ty) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue