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 d938a80 commit fdd1a62Copy full SHA for fdd1a62
src/libsyntax/parse/lexer/mod.rs
@@ -47,7 +47,7 @@ impl<'a> StringReader<'a> {
47
source_file: Lrc<syntax_pos::SourceFile>,
48
override_span: Option<Span>) -> Self {
49
if source_file.src.is_none() {
50
- sess.span_diagnostic.bug(&format!("Cannot lex source_file without source: {}",
+ sess.span_diagnostic.bug(&format!("cannot lex `source_file` without source: {}",
51
source_file.name));
52
}
53
0 commit comments