This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rust/21097] can't disambiguate between enum and other types for rust


https://sourceware.org/bugzilla/show_bug.cgi?id=21097

--- Comment #7 from Tom Tromey <tromey at sourceware dot org> ---
> Also the output here is weird.  Ideally it would print Mod(q::Mod).

Err... we shouldn't really access this directly.
But 'ptype q::ItemKind' prints:

type = enum q::ItemKind {
  Mod,
}

... where I think Mod(Mod) would perhaps be more useful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]