File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_parse/src/lexer Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ pub(crate) fn emit_unescape_error(
169169 ) ;
170170
171171 diag. help ( format ! (
172- "{ec} is not an ascii quote, but may look like one in some fonts; \
172+ "{ec} is not an ASCII quote, but may look like one in some fonts; \
173173 consider writing it in its escaped form for clarity."
174174 ) ) ;
175175 } else {
Original file line number Diff line number Diff line change 22// <https://github.com/rust-lang/rust/issues/128858>
33fn main ( ) {
44 dbg ! ( "\″ " ) ; //U+2033
5- //~^ERROR 4:12: 4:13: unknown character escape: `\u{2033}`
5+ //~^ERROR unknown character escape: `\u{2033}`
66 dbg ! ( "\ʺ " ) ; //U+02BA
77 //~^ERROR 6:12: 6:13: unknown character escape: `\u{2ba}`
88 dbg ! ( "\˝ " ) ; //U+02DD
You can’t perform that action at this time.
0 commit comments