aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_proc_macro_srv/src/lib.rs
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-04-20 19:54:43 +0100
committerveetaha <[email protected]>2020-04-20 20:06:41 +0100
commit0f5b1fef5ea0a34e2760383182e9683cdbd7d49e (patch)
tree5479fd716faeec16cf9f3cc9239163b9dfa2c12e /crates/ra_proc_macro_srv/src/lib.rs
parent982af2286a57667263f6cf0abb80b5e20b198047 (diff)
Display path not debug it
Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
Diffstat (limited to 'crates/ra_proc_macro_srv/src/lib.rs')
-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 178458703..f64e05a2d 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.display(), err)) 45 .unwrap_or_else(|err| panic!("Cannot create expander for {}: {:?}", lib.display(), err))
46} 46}
47 47
48pub mod cli; 48pub mod cli;