New
Version 0.14.0
Breaking changes
- In derived
BinWriteimplementations, imported variables are now exposed before field variables, to match the way lexical scoping normally works. If an import and a field have the same name, this will cause the import to be shadowed. Previously, the field would be shadowed.
Enhancements
- Diagnostic output is improved when using
parse_withandmaptogether in an incompatible way.
Bug fixes
- It is now possible to use a mix of generic and concrete types in
BinWritederives without triggering a type mismatch error. - It is now possible to use the anonymous lifetime
'_within nested types inside animportdirective. (#241) - The compiler will no longer panic when
verbose-backtraceis enabled and a derived type contains a docblock with a completely empty line. (#263) - Generated code will no longer trigger
clippy::unnecessary_fallible_conversionslints.