Utkarsh Bhardwaj

Results 3 comments of Utkarsh Bhardwaj

The alternative workaround for the time being is to define duplicate custom errors giving them each different condition externally: ```rust #[cfg(feature = "use-mpsc")] custom_error! {pub FooError IO {source: std::io::Error} =...

This seems to be the case. I've tested it out in isolation now. The enum fields definitely follow the attributes. Its the implementation of traits that raises the issue, specifically...