Skip to content

Commit f1f5131

Browse files
kornelskiestebank
andauthored
Update source_util.rs
Co-authored-by: Esteban Kuber <[email protected]>
1 parent 4040f9f commit f1f5131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_builtin_macros/src/source_util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pub fn expand_include_str(
193193
MacEager::expr(cx.expr_str(sp, interned_src))
194194
}
195195
Err(_) => {
196-
let guar = cx.dcx().span_err(sp, format!("{path} wasn't a utf-8 file"));
196+
let guar = cx.dcx().span_err(sp, format!("`{path}` wasn't a utf-8 file"));
197197
DummyResult::any(sp, guar)
198198
}
199199
},

0 commit comments

Comments
 (0)