Skip to content

Conditionally implement core::error::Error for all error types #594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nicholasbishop opened this issue Nov 27, 2022 · 2 comments
Closed

Comments

@nicholasbishop
Copy link
Member

In the same spirit as #587, we should implement the Error trait for all our other error types (e.g. these ones: https://docs.rs/uefi/latest/uefi/data_types/index.html#enums). This would be gated behind the unstable feature.

@phip1611
Copy link
Member

phip1611 commented Dec 19, 2022

We should be able to remove the unstable feature in 2 months or so. Since Rust 1.65, the trait is part of libcore in stable Rust.

rust-lang/rust@bf7611d

Correction, this is in the core library but not yet stable.

@phip1611
Copy link
Member

phip1611 commented Mar 24, 2023

The change needs to be done at least for:

  • unicode_collation::StrConversionError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants