diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-15 07:44:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-15 07:44:47 +0200 |
| commit | 345d483e9573c2217f72e7a54e76ba1f99b4eb06 (patch) | |
| tree | 1104be5663dc8ce250b290eecf0884adc1fa78d5 /compiler/rustc_codegen_gcc | |
| parent | b74ae0487b81628f67f5ca66a12ebd636eb9cafe (diff) | |
| parent | c5a68cf0a65fe94022f5c5fd0fc47ccfcda81929 (diff) | |
| download | rust-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
