We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ed3cca + 535783c commit 6254616Copy full SHA for 6254616
1 file changed
crates/proc-macro-srv/src/lib.rs
@@ -328,7 +328,7 @@ impl<'snap> EnvChange<'snap> {
328
let prev_working_dir = std::env::current_dir().ok();
329
if let Err(err) = std::env::set_current_dir(dir) {
330
eprintln!(
331
- "Failed to set the current working dir to {}. Error: {err:?}",
+ "Failed to change the current working dir to {}. Error: {err:?}",
332
dir.display()
333
)
334
}
@@ -370,7 +370,7 @@ impl Drop for EnvChange<'_> {
370
&& let Err(err) = std::env::set_current_dir(dir)
371
{
372
373
- "Failed to set the current working dir to {}. Error: {:?}",
+ "Failed to change the current working dir back to {}. Error: {:?}",
374
dir.display(),
375
err
376
0 commit comments