aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-04-20 19:50:06 +0100
committerGitHub <[email protected]>2020-04-20 19:50:06 +0100
commit982af2286a57667263f6cf0abb80b5e20b198047 (patch)
tree86c06dbfa5b91f1af99306ac0aeb243401ae7d22
parentd3019164dcbb46f8c369ed4efff79de5a42a95a8 (diff)
Display path not debug it
Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
-rw-r--r--crates/ra_proc_macro_srv/src/lib.rs2
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
43fn create_expander(lib: &Path) -> dylib::Expander { 43fn 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
48pub mod cli; 48pub mod cli;