Skip to content

Allow implementing From<T> for error enums

Robin Appelman requested to merge icewind/err-derive:derive-from into master

This is a separate attribute from "cause" because from has more restrictions on where it can be used (only for single item tuple/struct variants, only once for each type)

!6 (closed) implements the same feature but as opt-out instead of opt-in (I also didn't check if there was an existing PR before starting 🙈)

Merge request reports