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
enumEnum{Bar(u32)}fnmain(){let e = Enum::Bar(1);useEnum::*;match e {Bar(_i_am_unknown) => {}Enum::Bar(_works_fine) => {}}}
In vscode hint for _i_am_unknown is {unknown} | u32. The _works_fine variable gets u32 | u32 hint. The {unknown} variable doesn't get type-based autocomplete, etc.
The text was updated successfully, but these errors were encountered:
In vscode hint for
_i_am_unknown
is{unknown} | u32
. The_works_fine
variable getsu32 | u32
hint. The{unknown}
variable doesn't get type-based autocomplete, etc.The text was updated successfully, but these errors were encountered: