taiki-e / derive_utils

A procedural macro helper for easily writing custom derives for enums.
https://docs.rs/derive_utils
Apache License 2.0
31 stars 2 forks source link

Panic if an unsupported trait definition passed #35

Closed taiki-e closed 3 years ago

taiki-e commented 3 years ago

This is an error on the side of the proc-macro that uses derive_utils and users of the proc-macro see a useless error message. This should be clearly separated from input errors that returned by EnumData::parse.

taiki-e commented 3 years ago

bors r+

bors[bot] commented 3 years ago

Build succeeded: