mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-22 18:12:55 +00:00
fix: Fix proc-macro server not accounting for string delimiters correctly
This commit is contained in:
parent
543d7e98db
commit
cdfb73ab9c
6 changed files with 85 additions and 55 deletions
|
@ -64,7 +64,7 @@ impl ProcMacros {
|
|||
&bridge::server::SameThread,
|
||||
S::make_server(call_site, def_site, mixed_site),
|
||||
parsed_body,
|
||||
false,
|
||||
cfg!(debug_assertions),
|
||||
);
|
||||
return res
|
||||
.map(|it| it.into_subtree(call_site))
|
||||
|
@ -75,7 +75,7 @@ impl ProcMacros {
|
|||
&bridge::server::SameThread,
|
||||
S::make_server(call_site, def_site, mixed_site),
|
||||
parsed_body,
|
||||
false,
|
||||
cfg!(debug_assertions),
|
||||
);
|
||||
return res
|
||||
.map(|it| it.into_subtree(call_site))
|
||||
|
@ -87,7 +87,7 @@ impl ProcMacros {
|
|||
S::make_server(call_site, def_site, mixed_site),
|
||||
parsed_attributes,
|
||||
parsed_body,
|
||||
false,
|
||||
cfg!(debug_assertions),
|
||||
);
|
||||
return res
|
||||
.map(|it| it.into_subtree(call_site))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue