Re: [PATCH] Fix handling of discriminantless univariant enums in Rust

Tom Tromey
2016-10-30T03:34:29Z

>>>>> "Manish" == Manish Goregaokar <manish@mozilla.com> writes:

Manish> `print univariant.a` works for me.

I tried this patch and it failed the way I thought it would:

print univariant.a
Attempting to access named field a of tuple variant simple::Univariant::Foo, which has only anonymous fields
(gdb) FAIL: gdb.rust/simple.exp: print univariant.a

Maybe you're trying it with the follow-up patch installed?
In that case I think the patches should probably be combined.

Tom