]> git.lizzy.rs Git - rust.git/commit
Improve recovery on malformed format call
authorSasha <sasha.pourcelot@protonmail.com>
Mon, 31 Aug 2020 09:45:50 +0000 (11:45 +0200)
committerSasha <sasha.pourcelot@protonmail.com>
Wed, 2 Sep 2020 11:18:19 +0000 (13:18 +0200)
commit246f1f8a8eccf4d997e85ed80097f9263624c4a4
tree5bc55ed204052e981f88ab514243db340673480b
parent282c59820b8e1d8c76f440484b81a190c576f91b
Improve recovery on malformed format call

If a comma in a format call is replaced with a similar token, then we
emit an error and continue parsing, instead of stopping at this point.
tests/ui/issue-3145.rs
tests/ui/issue-3145.stderr