We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f2b6b commit 638a52cCopy full SHA for 638a52c
src/librustdoc/lib.rs
@@ -760,7 +760,9 @@ fn run_renderer<
760
tcx.dcx().struct_fatal(format!("couldn't generate documentation: {}", e.error));
761
let file = e.file.display().to_string();
762
if !file.is_empty() {
763
- msg.note(format!("failed to create or modify \"{file}\""));
+ msg.note(format!("failed to create or modify {e}"));
764
+ } else {
765
+ msg.note(format!("failed to create or modify file: {e}"));
766
}
767
msg.emit();
768
0 commit comments