diff options
Diffstat (limited to 'crates')
-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; |