Auto merge of #26512 - yongqli:master, r=sfackler
This commit is contained in:
commit
a8dbd71fc8
1 changed files with 13 additions and 13 deletions
|
@ -852,7 +852,7 @@ impl<'a> StringReader<'a> {
|
||||||
|
|
||||||
if valid && (char::from_u32(accum_int).is_none() || count == 0) {
|
if valid && (char::from_u32(accum_int).is_none() || count == 0) {
|
||||||
self.err_span_(start_bpos, self.last_pos, "illegal unicode character escape");
|
self.err_span_(start_bpos, self.last_pos, "illegal unicode character escape");
|
||||||
valid= false;
|
valid = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue