mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
better recovery for exprs
This commit is contained in:
parent
13110f48e9
commit
2fa90e736b
16 changed files with 263 additions and 27 deletions
|
@ -31,6 +31,7 @@ use {
|
|||
handle_completion,
|
||||
handle_runnables,
|
||||
handle_decorations,
|
||||
handle_on_type_formatting,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -161,6 +162,9 @@ fn on_request(
|
|||
handle_request_on_threadpool::<req::DecorationsRequest>(
|
||||
&mut req, pool, world, sender, handle_decorations,
|
||||
)?;
|
||||
handle_request_on_threadpool::<req::OnTypeFormatting>(
|
||||
&mut req, pool, world, sender, handle_on_type_formatting,
|
||||
)?;
|
||||
dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| {
|
||||
io.send(RawMsg::Response(resp.into_response(Ok(None))?));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue