error_set 0.9.1

Quick error declarations and automatic conversions between errors for precisely typed error handling. Inspired by Zig's error set type.
Documentation
1
2
3
4
5
6
7
8
9
10
error[E0277]: the trait bound `Y: From<X>` is not satisfied
  --> tests/trybuild/error_sources_of_diffrent_names.rs:23:18
   |
23 |     let y: Y = x.into();
   |                  ^^^^ the trait `From<X>` is not implemented for `Y`
   |
   = help: the trait `From<X>` is not implemented for `Y`
           but trait `From<std::io::Error>` is implemented for it
   = help: for that trait implementation, expected `std::io::Error`, found `X`
   = note: required for `X` to implement `Into<Y>`