Skip to content

0.2.19

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 16:29
Immutable release. Only release title and notes can be modified.

This release fixes bugs on parsing where the pin-project-lite incorrectly accepts syntaxes that pin-project rejects. The first one allows situations that violate drop guarantee, while the others allow checks to be bypassed.

  • Fix an issue where project_replace and PinnedDrop are accepted at the same time. (#100)

  • Fix an issue where a handwritten Drop implementation is accepted when PinnedDrop implementation is disabled by cfg.

  • Reject PinnedDrop implementations for different types.

  • Reject unsupported trait names in #[project(!Unpin)].