Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ce43fc9

Browse files
m-ou-selrh2000
authored andcommitted
Fix note in reserved prefix error.
1 parent c856e6f commit ce43fc9

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_parse/src/lexer

1 file changed

+1
-1
lines changed

compiler/rustc_parse/src/lexer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ impl<'a> StringReader<'a> {
515515
" ".into(),
516516
Applicability::MachineApplicable,
517517
);
518-
err.note("prefixed identifiers and string literals are reserved since Rust 2021");
518+
err.note("prefixed identifiers and literals are reserved since Rust 2021");
519519

520520
err.emit();
521521
}

0 commit comments

Comments
 (0)