about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-15 07:44:47 +0200
committerGitHub <noreply@github.com>2021-10-15 07:44:47 +0200
commit345d483e9573c2217f72e7a54e76ba1f99b4eb06 (patch)
tree1104be5663dc8ce250b290eecf0884adc1fa78d5 /compiler/rustc_codegen_gcc
parentb74ae0487b81628f67f5ca66a12ebd636eb9cafe (diff)
parentc5a68cf0a65fe94022f5c5fd0fc47ccfcda81929 (diff)
downloadrust-345d483e9573c2217f72e7a54e76ba1f99b4eb06.tar.gz
rust-345d483e9573c2217f72e7a54e76ba1f99b4eb06.zip
Rollup merge of #89859 - RalfJung:write-discriminant, r=oli-obk
add dedicated error variant for writing the discriminant of an uninhabited enum variant

This is conceptually different from hitting an `Unreachable` terminator. Also add some sanity check making sure we don't write discriminants of things that do not have discriminants.

r? ``@oli-obk``
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions