miette
miette copied to clipboard
Feature Request: Make miette! macro handle related errors
Problem Right now, to use related errors in the miette! macro, you have to create a custom struct with a #[related] field. This can be a bit cumbersome and adds extra boilerplate.
Solution It would be great if the related field in the miette! macro could accept any iterator, like a Vec or any type implementing IntoIterator.