]> git.lizzy.rs Git - rust.git/commit
Auto merge of #76160 - scileo:format-recovery, r=petrochenkov
authorbors <bors@rust-lang.org>
Wed, 2 Sep 2020 19:29:27 +0000 (19:29 +0000)
committerbors <bors@rust-lang.org>
Wed, 2 Sep 2020 19:29:27 +0000 (19:29 +0000)
commit365b13c0e71f4af148e544a9f35aa0241dc2a56e
tree81decc6c789f06e3a80e3ecac531b4c366e81401
parentfdc48fb90c04b26b03ee7d8ae85e3175e5fc538c
parent246f1f8a8eccf4d997e85ed80097f9263624c4a4
Auto merge of #76160 - scileo:format-recovery, r=petrochenkov

Improve recovery on malformed format call

The token following a format expression should be a comma. However, when it is replaced with a similar token (such as a dot), then the corresponding error is emitted, but the token is treated as a comma, and the parsing step continues.

r? @petrochenkov