Deriving `Error`

This is a good point, especially in lieu of https://github.com/rust-lang/rfcs/pull/2385, since it sorta implies we would never do that RFC, and perhaps we shouldn't.

I would personally like to see e.g. #[default] on enum variants used to make #[derive(Default)] work on enums. That seems quite useful to me.

What would it print?

4 Likes