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 4040f9f commit f1f5131Copy full SHA for f1f5131
compiler/rustc_builtin_macros/src/source_util.rs
@@ -193,7 +193,7 @@ pub fn expand_include_str(
193
MacEager::expr(cx.expr_str(sp, interned_src))
194
}
195
Err(_) => {
196
- let guar = cx.dcx().span_err(sp, format!("{path} wasn't a utf-8 file"));
+ let guar = cx.dcx().span_err(sp, format!("`{path}` wasn't a utf-8 file"));
197
DummyResult::any(sp, guar)
198
199
},
0 commit comments