Commits on Source 5
-
Tim Crawford authored
`try_trait` was replaced by a new implementation. The RFC was used as a reference, as it documents a simple use case that nearly matches the current Status [1]. Fixes compiling with rustc versions newer than 2021-05-18. Tracking Issue: https://github.com/rust-lang/rust/issues/84277 [1]: https://github.com/rust-lang/rfcs/blob/master/text/3058-try-trait-v2.md#implementing-try-for-a-non-generic-type Signed-off-by:
Tim Crawford <tcrawford@system76.com>
-
Jeremy Soller authored
Use try_trait_v2 for Status See merge request redox-os/uefi!3
-
Tim Crawford authored
The previous change broke callers using `?` on things that returned Status. Implement FromResidual for Result to fix it. Also enables the `control_flow_enum` feature. Signed-off-by:
Tim Crawford <tcrawford@system76.com>
-
Jeremy Soller authored
Allow using `?` with Status again See merge request redox-os/uefi!5
-
Jeremy Soller authored