You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding #[num_enum(catch_all)] to an enum variant removes the enum's display name while debugging.
When a known enum variant occurs, instead of the name, {...} is shown signifying debug information is unavailable. It also cannot be expanded for more information and won't even show the underlying number.
When the catch_all varaint occurs it shows {0:99} which is fine since my enum is a #[repr(u16)].
rustc 1.72.0 (5680fa18f 2023-08-23)
os: win and linux tested
debugger: windbg and lldb tested
The text was updated successfully, but these errors were encountered:
Adding
#[num_enum(catch_all)]
to an enum variant removes the enum's display name while debugging.When a known enum variant occurs, instead of the name,
{...}
is shown signifying debug information is unavailable. It also cannot be expanded for more information and won't even show the underlying number.When the catch_all varaint occurs it shows
{0:99}
which is fine since my enum is a#[repr(u16)]
.rustc 1.72.0 (5680fa18f 2023-08-23)
os: win and linux tested
debugger: windbg and lldb tested
The text was updated successfully, but these errors were encountered: