diff options
Diffstat (limited to 'crates/ide')
-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 3edc43e08..3db08e84c 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 | ||
@@ -34,8 +33,6 @@ impl fmt::Display for RenameError { | |||
34 | } | 33 | } |
35 | } | 34 | } |
36 | 35 | ||
37 | impl Error for RenameError {} | ||
38 | |||
39 | macro_rules! format_err { | 36 | macro_rules! format_err { |
40 | ($fmt:expr) => {RenameError(format!($fmt))}; | 37 | ($fmt:expr) => {RenameError(format!($fmt))}; |
41 | ($fmt:expr, $($arg:tt)+) => {RenameError(format!($fmt, $($arg)+))} | 38 | ($fmt:expr, $($arg:tt)+) => {RenameError(format!($fmt, $($arg)+))} |