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:50:06 +03:00 committed by GitHub
parent d3019164dc
commit 982af2286a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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, err))
.unwrap_or_else(|err| panic!("Cannot create expander for {}: {}", lib.display(), err))
}
pub mod cli;