about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-05-22 18:03:18 -0700
committerKevin Reid <kpreid@switchb.org>2024-05-22 18:03:18 -0700
commitcfa150b0ddc28ea3723a3b4d0916e729dcea3246 (patch)
treedfe9e1d8f6d0a2e1f6090bf231d593155f6e28c7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent05c40536285245d31f2bd6ed43c5bc43cc768752 (diff)
downloadrust-cfa150b0ddc28ea3723a3b4d0916e729dcea3246.tar.gz
rust-cfa150b0ddc28ea3723a3b4d0916e729dcea3246.zip
Rephrase and expand `empty_enum` documentation.
* Remove incorrect claim that “wrappers around it are the conventional
  way to define an uninhabited type”.
* Discuss why one would use `!`, a newtype struct, or keep the enum.
* Add links to relevant documentation.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions