-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
enum Foo {
A { x: u32, y: u32 },
B { y: u32, z: u32 },
}should result in
struct FooRef<'a> {
discriminant: &'a FooDiscriminant,
x: &'a FooFieldX,
y: &'a FooFieldY,
z: FooFieldZ,
}Right now we instead get field0 and field1 corresponding to union { A::x, B::y } and union { A::y, B::z }.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed