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
In stable and beta, you can write ErrorKind::Other {}, but in nightly this triggers E0639: cannot create non-exhaustive variant using struct expression. (As an aside, that error message should be rephrased and examples added to --explain.)
This is either a bug with #[non_exhaustive], or it means that the attribute can't be applied to public enums without creating a breaking change.