]> git.lizzy.rs Git - rust.git/commit
Don't show internal server error on rename
authorAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 13 Jan 2021 11:09:51 +0000 (14:09 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 13 Jan 2021 12:07:30 +0000 (15:07 +0300)
commitf0e802f4903cee864b193beb2ddcd50d6d9f60c7
tree9830f7b3a9607d7b385fb3311ef078ade5a42768
parent52fa926f005890f07dffc789c84c2be57a6bdccc
Don't show internal server error on rename

Doesn't quite work due to https://github.com/microsoft/vscode-languageserver-node/issues/730

Note that this intentionally removes `impl std::Error for RenameError`
-- we nether want to blindly bubble the rename error.
crates/ide/src/references/rename.rs
crates/rust-analyzer/src/handlers.rs
crates/rust-analyzer/src/to_proto.rs