diff options
author | Mara Bos <m-ou.se@m-ou.se> | 2021-06-14 12:25:59 +0000 |
---|---|---|
committer | lrh2000 <lrh2000@pku.edu.cn> | 2021-06-26 23:09:43 +0800 |
commit | ce43fc9404f7a205d882ea9146c3f568229b96b9 (patch) | |
tree | b787b59199f2356e405eea155a5c10dd55450fd5 /compiler/rustc_parse/src/lexer/mod.rs | |
parent | c856e6fa531a0a84819578272ae01d3cabc2cd4d (diff) | |
download | rust-ce43fc9404f7a205d882ea9146c3f568229b96b9.tar.gz |
Fix note in reserved prefix error.
Diffstat (limited to 'compiler/rustc_parse/src/lexer/mod.rs')
-rw-r--r-- | compiler/rustc_parse/src/lexer/mod.rs | 2 |
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(); } |