rhg: Add more conversions between error types
This allows using the `?` operator in more places, as the next commit does. Differential Revision: https://phab.mercurial-scm.org/D10238
Showing
- rust/hg-core/src/config/config.rs 16 additions, 0 deletionsrust/hg-core/src/config/config.rs
- rust/hg-core/src/errors.rs 1 addition, 19 deletionsrust/hg-core/src/errors.rs
- rust/hg-core/src/lib.rs 2 additions, 1 deletionrust/hg-core/src/lib.rs
- rust/rhg/src/error.rs 29 additions, 1 deletionrust/rhg/src/error.rs
Please register or sign in to comment