mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-18 16:20:18 +00:00
Encode closing delimiter span in FlatTrees
This commit is contained in:
parent
3c7b6716d1
commit
9fb1b04826
5 changed files with 68 additions and 26 deletions
|
@ -56,6 +56,10 @@ impl ProcMacroProcessSrv {
|
|||
}
|
||||
}
|
||||
|
||||
pub(crate) fn version(&self) -> u32 {
|
||||
self.version
|
||||
}
|
||||
|
||||
pub(crate) fn version_check(&mut self) -> Result<u32, ServerError> {
|
||||
let request = Request::ApiVersionCheck {};
|
||||
let response = self.send_task(request)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue