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
error: deriving From requires no fields other than source and backtrace --> src/main.rs:8:18 |8 | pub struct Error(#[from] std::io::Error, String); | ^^^^^^^
The text was updated successfully, but these errors were encountered:
With the following change it compiles successfully, which is expected:
and with the following change it produces a helpful diagnostic similar to what I think we should expect in the original case:
The text was updated successfully, but these errors were encountered: