Closed
Description
The top-level implementation doesn't complain when there is no #[try_from]
attribute at all:
derive_more/impl/src/try_from.rs
Lines 23 to 50 in 4de3ae7
But then the actual ToTokens
impl doesn't actually do anything when the attribute is not present:
derive_more/impl/src/try_from.rs
Lines 78 to 80 in 4de3ae7
If the attribute is required, its absence should generate a compile error. If it's not required, then omitting it should not result in doing nothing.