mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Use cached module scopes for completion
This commit is contained in:
parent
9b88ec488b
commit
397c235086
5 changed files with 71 additions and 51 deletions
|
@ -62,6 +62,11 @@ impl LocalSyntaxPtr {
|
|||
local: self,
|
||||
}
|
||||
}
|
||||
|
||||
// Seems unfortunate to expose
|
||||
pub(crate) fn range(self) -> TextRange {
|
||||
self.range
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue