summaryrefslogtreecommitdiff
path: root/compiler/rustc_parse/src/lexer/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_parse/src/lexer/mod.rs')
-rw-r--r--compiler/rustc_parse/src/lexer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/lexer/mod.rs b/compiler/rustc_parse/src/lexer/mod.rs
index 5d794b13699..f5eba5056ea 100644
--- a/compiler/rustc_parse/src/lexer/mod.rs
+++ b/compiler/rustc_parse/src/lexer/mod.rs
@@ -515,7 +515,7 @@ impl<'a> StringReader<'a> {
" ".into(),
Applicability::MachineApplicable,
);
- err.note("prefixed identifiers and string literals are reserved since Rust 2021");
+ err.note("prefixed identifiers and literals are reserved since Rust 2021");
err.emit();
}