diff options
author | Veetaha <[email protected]> | 2020-04-20 19:50:06 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-20 19:50:06 +0100 |
commit | 982af2286a57667263f6cf0abb80b5e20b198047 (patch) | |
tree | 86c06dbfa5b91f1af99306ac0aeb243401ae7d22 | |
parent | d3019164dcbb46f8c369ed4efff79de5a42a95a8 (diff) |
Display path not debug it
Co-Authored-By: Laurențiu Nicola <[email protected]>
-rw-r--r-- | crates/ra_proc_macro_srv/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_proc_macro_srv/src/lib.rs b/crates/ra_proc_macro_srv/src/lib.rs index 7faf36834..178458703 100644 --- a/crates/ra_proc_macro_srv/src/lib.rs +++ b/crates/ra_proc_macro_srv/src/lib.rs | |||
@@ -42,7 +42,7 @@ pub(crate) fn list_macros(task: &ListMacrosTask) -> ListMacrosResult { | |||
42 | 42 | ||
43 | fn create_expander(lib: &Path) -> dylib::Expander { | 43 | fn create_expander(lib: &Path) -> dylib::Expander { |
44 | dylib::Expander::new(lib) | 44 | dylib::Expander::new(lib) |
45 | .unwrap_or_else(|err| panic!("Cannot create expander for {:?}: {:?}", lib, err)) | 45 | .unwrap_or_else(|err| panic!("Cannot create expander for {}: {}", lib.display(), err)) |
46 | } | 46 | } |
47 | 47 | ||
48 | pub mod cli; | 48 | pub mod cli; |