mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-13 05:46:29 +00:00
fix: Fix process-changes not deduplicating changes correctly
This commit is contained in:
parent
e6ad8a2edc
commit
d712e52940
4 changed files with 30 additions and 15 deletions
|
@ -121,7 +121,7 @@ impl ProcMacroServer {
|
|||
}
|
||||
|
||||
pub fn load_dylib(&self, dylib: MacroDylib) -> Result<Vec<ProcMacro>, ServerError> {
|
||||
let _p = profile::span("ProcMacroClient::by_dylib_path");
|
||||
let _p = profile::span("ProcMacroClient::load_dylib");
|
||||
let macros =
|
||||
self.process.lock().unwrap_or_else(|e| e.into_inner()).find_proc_macros(&dylib.path)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue