diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-07-05 09:50:36 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-07-09 09:02:50 +1000 |
| commit | 65d0bfbca569b91eec6199b4629bc53db417efed (patch) | |
| tree | d4b8230e59b54b9c82fdce09eb66f92ab615ed56 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 7f1dfcab679a1c8248b16e34902a578c2f7bf5e2 (diff) | |
| download | rust-65d0bfbca569b91eec6199b4629bc53db417efed.tar.gz rust-65d0bfbca569b91eec6199b4629bc53db417efed.zip | |
Cut down large comment about zero-variant enums.
When deriving functions for zero-variant enums, we just generated a function body that calls `std::instrincs::unreachable`. There is a large comment with some not-very-useful historical discussion about alternatives, including some discussion of feature-gating zero-variant enums, which is clearly irrelevant today. This commit cuts the comment down greatly.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
