Display path not debug it

Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
Veetaha 2020-04-20 21:54:43 +03:00 committed by veetaha
parent 982af2286a
commit 0f5b1fef5e
2 changed files with 8 additions and 8 deletions

View file

@ -42,7 +42,7 @@ pub(crate) fn list_macros(task: &ListMacrosTask) -> ListMacrosResult {
fn create_expander(lib: &Path) -> dylib::Expander {
dylib::Expander::new(lib)
.unwrap_or_else(|err| panic!("Cannot create expander for {}: {}", lib.display(), err))
.unwrap_or_else(|err| panic!("Cannot create expander for {}: {:?}", lib.display(), err))
}
pub mod cli;