diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-13 12:09:26 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-13 12:09:26 +0000 |
commit | f84f5cb0ea3c1b10fbe96038d0201975913425cc (patch) | |
tree | efabf4ed9338b7081ff2ceb4546c39c789275492 /crates/ide/src | |
parent | e41b36302784fc2661b4be2e13cb9a54cfa08ac9 (diff) | |
parent | f0e802f4903cee864b193beb2ddcd50d6d9f60c7 (diff) |
Merge #7262
7262: Don't show internal server error on rename r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide/src')
-rw-r--r-- | crates/ide/src/references/rename.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/ide/src/references/rename.rs b/crates/ide/src/references/rename.rs index 5207388b5..c3ae568c2 100644 --- a/crates/ide/src/references/rename.rs +++ b/crates/ide/src/references/rename.rs | |||
@@ -1,7 +1,6 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! FIXME: write short doc here |
2 | use std::{ | 2 | use std::{ |
3 | convert::TryInto, | 3 | convert::TryInto, |
4 | error::Error, | ||
5 | fmt::{self, Display}, | 4 | fmt::{self, Display}, |
6 | }; | 5 | }; |
7 | 6 | ||
@@ -35,8 +34,6 @@ impl fmt::Display for RenameError { | |||
35 | } | 34 | } |
36 | } | 35 | } |
37 | 36 | ||
38 | impl Error for RenameError {} | ||
39 | |||
40 | macro_rules! format_err { | 37 | macro_rules! format_err { |
41 | ($fmt:expr) => {RenameError(format!($fmt))}; | 38 | ($fmt:expr) => {RenameError(format!($fmt))}; |
42 | ($fmt:expr, $($arg:tt)+) => {RenameError(format!($fmt, $($arg)+))} | 39 | ($fmt:expr, $($arg:tt)+) => {RenameError(format!($fmt, $($arg)+))} |