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
Restore support for yeeting context selectors #431
Labels
enhancement
New feature or request
feedback requested
User feedback desired on a design decision
help wanted
Extra attention is needed
Comments
shepmaster
added
enhancement
New feature or request
help wanted
Extra attention is needed
feedback requested
User feedback desired on a design decision
labels
Dec 27, 2023
A repro of the issue at hand: use snafu::prelude::*;
fn make() -> Option<()> {
None
}
#[derive(Debug, Snafu)]
pub enum ReproError {
#[snafu(whatever, display("{}", message))]
Custom {
message: String,
#[snafu(source(from(Box<dyn std::error::Error + Send + Sync + 'static>, Some)))]
source: Option<Box<dyn std::error::Error + Send + Sync + 'static>>,
},
NotNative,
}
fn repro() -> Result<(), ReproError> {
make().whatever_context("bang")?;
Ok(())
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
feedback requested
User feedback desired on a design decision
help wanted
Extra attention is needed
Originally added in #395, we discovered it caused some type inference issues. In order to release 0.8 with new features, I'm reverting that code for now.
The text was updated successfully, but these errors were encountered: