From: Mazdak Farrokhzad Date: Sat, 23 Feb 2019 08:25:27 +0000 (+0100) Subject: Rollup merge of #58526 - pmccarter:master, r=estebank X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=18dd2d2fbe3cacc4bea71c0a7df831a62605a367;p=rust.git Rollup merge of #58526 - pmccarter:master, r=estebank 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). --- 18dd2d2fbe3cacc4bea71c0a7df831a62605a367