]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #58526 - pmccarter:master, r=estebank
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 23 Feb 2019 08:25:27 +0000 (09:25 +0100)
committerGitHub <noreply@github.com>
Sat, 23 Feb 2019 08:25:27 +0000 (09:25 +0100)
Special suggestion for illegal unicode curly quote pairs

Fixes #58436

Did not end up expanding the error message span to include the full string literal since I figured the start of the token was the issue, while the help suggestion span would include up to the closing quotation mark.

The look ahead logic does not affect the reader position, not sure if that is an issue (if eg it should still continue to parse after the closing quote without erroring out).


Trivial merge