diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-23 17:02:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-23 17:02:04 +0100 |
| commit | 4d5c4e5205cba3982951a78dc9ac2b249b73bd97 (patch) | |
| tree | 9c6116b82d2583ec8ded0e46f4b42d30bf25dd73 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 26cb6c728736ba9c582cbde761d9d9fd10ff74b9 (diff) | |
| parent | 35a9e7352138b059eaae2a9d0724dcd7f6d10ab5 (diff) | |
| download | rust-4d5c4e5205cba3982951a78dc9ac2b249b73bd97.tar.gz rust-4d5c4e5205cba3982951a78dc9ac2b249b73bd97.zip | |
Rollup merge of #121470 - clubby789:anon-struct-in-enum, r=fmease
Don't ICE on anonymous struct in enum variant Fixes #121446 Computing `adt_def` for the anon struct calls `adt_def` on the parent to find its repr. If the parent is a non-item (e.g. an enum variant) we should have already emitted at least one error, so we just use the repr of the anonymous struct to avoid an ICE. cc ``@frank-king``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
