about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-11-14 14:16:17 +0900
committerGitHub <noreply@github.com>2019-11-14 14:16:17 +0900
commit187e9118ccbd52786e96307a159467f927a81322 (patch)
treee54043857d9c0d8415e65d8a8af0ff78025dfb7c /src/test/debuginfo/enum-thinlto.rs
parent79e2afc28c53bbda4b86ae824519430f0a7d7516 (diff)
parent292ba98cb723fe2ab6ddcac9e4852be960deaaaa (diff)
downloadrust-187e9118ccbd52786e96307a159467f927a81322.tar.gz
rust-187e9118ccbd52786e96307a159467f927a81322.zip
Rollup merge of #66264 - guanqun:fix-mbe-missing-close-delim, r=estebank
fix an ICE in macro's diagnostic message

This has two small fixes:
1. for the left brace, we don't need `<space>{`, simply `{` is enough.
2. for the right brace, it tries to peel off one character even when the close delim is missing. Without this fix, it would crash in some cases. (as shown in the new test case)

r? @estebank
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions