Skip to content

Use try_trait_v2 for Status

Tim Crawford requested to merge tcrawford/uefi:try-trait-v2 into master

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

Merge request reports