about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-17 03:27:12 +0200
committerGitHub <noreply@github.com>2020-10-17 03:27:12 +0200
commit496e2feed684afc3eb43a3e4ac933fc61a5a8305 (patch)
treed0ba4cb48e0ab2b17ec2e35adf5efa86eef03ada /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentf1b97ee7f8ffb1a814944b85c7e05a1555a7eda5 (diff)
parent990a39596cf3b33e550f2045f78a62970f8d78f8 (diff)
downloadrust-496e2feed684afc3eb43a3e4ac933fc61a5a8305.tar.gz
rust-496e2feed684afc3eb43a3e4ac933fc61a5a8305.zip
Rollup merge of #76199 - Mark-Simulacrum:void-zero, r=nikomatsakis
Permit uninhabited enums to cast into ints

This essentially reverts part of #6204; it is unclear why that [commit](https://github.com/rust-lang/rust/pull/6204/commits/c0f587de34f30b060df8a88c4068740e587b9340) was introduced, and I suspect no one remembers.

The changed code was only called from casting checks and appears to not affect any callers of that code (other than permitting this one case).

Fixes #75647.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions