about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-17 13:46:03 +0200
committerGitHub <noreply@github.com>2019-10-17 13:46:03 +0200
commit0059411cae22c26f110344271688f8760623fc38 (patch)
tree937f7b9557313fa0500647bb57b3b1fa818d604c /src/libsyntax/parse/parser
parenta16dca337de610986252bb800953e57bf395863f (diff)
parent959a6c1ca8dad937fe9653e4a7acd3108199b92e (diff)
downloadrust-0059411cae22c26f110344271688f8760623fc38.tar.gz
rust-0059411cae22c26f110344271688f8760623fc38.zip
Rollup merge of #65237 - KodrAus:fix/map-entry-err, r=sfackler
Move debug_map assertions after check for err

Fixes #65231

We have some assertions in `DebugMap` to catch broken implementations of `Debug` that produce malformed entries. These checks don't make sense if formatting fails partway through. This PR moves those assertions to within the `and_then` closures along with the other formatting logic, so they're only checked if the map hasn't failed to format an entry already.
Diffstat (limited to 'src/libsyntax/parse/parser')
0 files changed, 0 insertions, 0 deletions