about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-27 16:03:07 +0100
committerGitHub <noreply@github.com>2022-11-27 16:03:07 +0100
commit9ba78ac08b32d0e98c579acaddaea5e5cf8b2396 (patch)
tree5954153c86ff979532d7dbd4165c23019298c5e2 /compiler/rustc_codegen_llvm/src/errors.rs
parent5d05cf8473736352f9517114c146a94cd62819a5 (diff)
parent946d51e8ba2501aa24256317d8798e475dc862b5 (diff)
downloadrust-9ba78ac08b32d0e98c579acaddaea5e5cf8b2396.tar.gz
rust-9ba78ac08b32d0e98c579acaddaea5e5cf8b2396.zip
Rollup merge of #104892 - lukas-code:discriminant, r=scottmcm
Explain how to get the discriminant out of a `#[repr(T)] enum` with payload

example stolen from https://github.com/rust-lang/reference/pull/1055

````@rustbot```` label A-docs
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions