Added backticks for one diagnostic message.

This commit is contained in:
Alexander Regueiro 2019-09-30 01:05:00 +01:00
parent d938a8079f
commit fdd1a62a45
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ impl<'a> StringReader<'a> {
source_file: Lrc<syntax_pos::SourceFile>,
override_span: Option<Span>) -> Self {
if source_file.src.is_none() {
sess.span_diagnostic.bug(&format!("Cannot lex source_file without source: {}",
sess.span_diagnostic.bug(&format!("cannot lex `source_file` without source: {}",
source_file.name));
}