- Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed as duplicate of#79530
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
enum E1 { A, B } enum E2 { A1 { x: i32, y: i32 }, B1(u8), C1 } fn main() { let a = E1::A; let aa = E2::A1 { x: 42, y: 123 }; let bb = E2::B1(10); let cc = E2::C1; }
Run lldb (without pretty-printers, lldb-1000.0.38.2)
(lldb) p a (main::E1) $0 = A (lldb) p aa (main::E2) $1 = {} (lldb) p bb (main::E2) $2 = {} (lldb) p cc (main::E2) $3 = {}
It affects both stable (1.32.0) and nightly (1.34.0) Rust toolchains.
sirgl, umanwizard, Eosis, tustvold, tmcguire and 13 more
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.