2.0.0 - The first release is never perfect
Breaking changes
use derive_more::SomeTraitnow imports macro only. Importing macro with its trait along is possible now viause derive_more::with_trait::SomeTrait. (#406)- Top-level
#[display("...")]attribute on an enum now has defaulting behavior instead of replacing when no wrapping is possible (no_variantplaceholder). (#395)
Fixed
- Associated types of type parameters not being treated as generics in
DebugandDisplayexpansions. (#399) unreachable_codewarnings on generated code when!(never type) is used. (#404)- Ambiguous associated item error when deriving
TryFrom,TryIntoorFromStrwith an associated item calledErrororErrrespectively. (#410) - Top-level
#[display("...")]attribute on an enum being incorrectly treated
as transparent or wrapping. (#395) - Omitted raw identifiers in
DebugandDisplayexpansions. (#431) - Incorrect rendering of raw identifiers as field names in
Debugexpansions. (#431) - Top-level
#[display("...")]attribute on an enum not working transparently for directly specified fields. (#438) - Incorrect dereferencing of unsized fields in
DebugandDisplayexpansions. (#440)
New Contributors
Full Changelog: v1.0.0...v2.0.0