about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-22 19:31:24 +0100
committerGitHub <noreply@github.com>2019-03-22 19:31:24 +0100
commit5a0e4510a805aa7feb93f7a34000be7d5d9a6249 (patch)
treedf4aff066dccc48f8c83eb25920296a15a8c491e /src/test/ui/thinlto
parentadbfcea58f89dee842519d4ef0cbaefe09fac3a5 (diff)
parent757eb679927e2c85457f567487e887eb080eb7cb (diff)
downloadrust-5a0e4510a805aa7feb93f7a34000be7d5d9a6249.tar.gz
rust-5a0e4510a805aa7feb93f7a34000be7d5d9a6249.zip
Rollup merge of #59266 - estebank:struct-parse-recovery, r=petrochenkov
Do not complain about non-existing fields after parse recovery

When failing to parse struct-like enum variants, the ADT gets recorded
as having no fields. Record that we have actually recovered during
parsing of this variant to avoid complaing about non-existing fields
when actually using it.

Fix #57361.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions