diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-06-19 10:14:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-19 10:14:14 +0900 |
| commit | 84d6c68822bc7c6312a00226de90fb7cdf79494c (patch) | |
| tree | f6be3106e2402ceefee0f8ae32cb8792c043558d /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | 90e5fe5f86a65fbd102e76f439f8c8d284d309d0 (diff) | |
| parent | e7a1186c6d4793a5265690dfd17fb05b15bf04ec (diff) | |
| download | rust-84d6c68822bc7c6312a00226de90fb7cdf79494c.tar.gz rust-84d6c68822bc7c6312a00226de90fb7cdf79494c.zip | |
Rollup merge of #86444 - FabianWolff:issue-83505, r=LeSeulArtichaut
Fix ICE with `#[repr(simd)]` on enum This pull request fixes #83505. `#[repr(simd)]` may only be applied to structs, which correctly causes `E0517` for the example given in #83505, but the compiler attempts to recover from this error, which leads to an ICE later, when `.non_enum_variant()` is called on the `AdtDef`. I have added a check that prevents this from happening.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
