mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
⬆️ rust-analyzer
This commit is contained in:
parent
a1f1b95d00
commit
9d2cb42a41
45 changed files with 766 additions and 242 deletions
|
@ -2769,6 +2769,10 @@ impl Type {
|
|||
self.derived(self.ty.strip_references().clone())
|
||||
}
|
||||
|
||||
pub fn strip_reference(&self) -> Type {
|
||||
self.derived(self.ty.strip_reference().clone())
|
||||
}
|
||||
|
||||
pub fn is_unknown(&self) -> bool {
|
||||
self.ty.is_unknown()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue