Skip to content

Commit

Permalink
Added backticks for one diagnostic message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Regueiro committed Sep 30, 2019
1 parent d938a80 commit fdd1a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/lexer/mod.rs
Expand Up @@ -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));
}

Expand Down

0 comments on commit fdd1a62

Please sign in to comment.