diff options
| author | bors <bors@rust-lang.org> | 2023-10-12 10:31:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-12 10:31:48 +0000 |
| commit | 3ff244b61c91925292f866e3b087f83fb518ea96 (patch) | |
| tree | 59ea089dc08d18ae6fc1ff99ea324d5565b74ead /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 4f05e9545210b7cf4db544a5aa2128b9ce0eb894 (diff) | |
| parent | 00c3de96e689d4b20be218692f88f8afa88ced87 (diff) | |
| download | rust-3ff244b61c91925292f866e3b087f83fb518ea96.tar.gz rust-3ff244b61c91925292f866e3b087f83fb518ea96.zip | |
Auto merge of #116600 - GuillaumeGomez:repr-enums-discriminant, r=fmease
Show enum discriminant if a compatible repr is used Follow-up of #116142. It was mentioned in the [team meeting](https://rust-lang.zulipchat.com/#narrow/stream/393423-t-rustdoc.2Fmeetings/topic/meeting.2002-10-2023/near/394504024) that an enum with a `repr` should also get its discriminants displayed. Forgot to implement it in #116142... It also allowed to uncover a bug: i was not providing the correct `DefId` in case it was a type alias to `render_enum_fields`. It's also fixed in this PR. r? `@fmease`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
