]> git.lizzy.rs Git - rust.git/commit
Use multipart suggestion
authorDavid Ross <daboross@daboross.net>
Sat, 22 Feb 2020 20:33:06 +0000 (12:33 -0800)
committerDavid Ross <daboross@daboross.net>
Sat, 22 Feb 2020 20:33:06 +0000 (12:33 -0800)
commitf434c6e636eda6c6c4fe167eee5b2549f8524ec7
tree80cff81d2f4212e98bb027268c6c6841ea7de291
parentfa1f547f82d66f986af2c33220199b042fcb5f99
Use multipart suggestion

This is a modified version of estebank's suggestion, with a bit of
extra cleanup now that we don't need the different cases for if we can
turn a span into a string or not.
src/librustc_parse/parser/expr.rs
src/test/ui/parser/issue-35813-postfix-after-cast.rs
src/test/ui/parser/issue-35813-postfix-after-cast.stderr