mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-30 07:07:32 +00:00
Merge #7262
7262: Don't show internal server error on rename r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
f84f5cb0ea
3 changed files with 10 additions and 14 deletions
|
@ -1,7 +1,6 @@
|
|||
//! FIXME: write short doc here
|
||||
use std::{
|
||||
convert::TryInto,
|
||||
error::Error,
|
||||
fmt::{self, Display},
|
||||
};
|
||||
|
||||
|
@ -35,8 +34,6 @@ impl fmt::Display for RenameError {
|
|||
}
|
||||
}
|
||||
|
||||
impl Error for RenameError {}
|
||||
|
||||
macro_rules! format_err {
|
||||
($fmt:expr) => {RenameError(format!($fmt))};
|
||||
($fmt:expr, $($arg:tt)+) => {RenameError(format!($fmt, $($arg)+))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue