Cleanup proc_macro config

In general, there should be no reason to call `.to_string_lossy`.
If you want to display the path, use `.display()`.
If you want to pass the path to an OS API (like std::process::Command)
than use `PathBuf` or `OsString`.
This commit is contained in:
Aleksey Kladov
2020-04-23 18:50:25 +02:00
parent 278bf351e3
commit ca6d7bfe61
3 changed files with 8 additions and 11 deletions

View File

@@ -153,7 +153,7 @@ impl WorldState {
Err(err) => {
log::error!(
"Failed to run ra_proc_macro_srv from path {}, error: {:?}",
path,
path.display(),
err
);
ProcMacroClient::dummy()