about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-07-05 09:50:36 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-07-09 09:02:50 +1000
commit65d0bfbca569b91eec6199b4629bc53db417efed (patch)
treed4b8230e59b54b9c82fdce09eb66f92ab615ed56 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent7f1dfcab679a1c8248b16e34902a578c2f7bf5e2 (diff)
downloadrust-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