You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `no_drop` attribute existed because the initial proc macro
implicitly added a `Drop` impl unless instructed otherwise.
It turns out there are several legitimate reasons not to derive `Drop`,
so this was reversed in v0.9, with `drop` or `no_drop` attributes
mandatory to ensure everyone migrated and was not expecting an implicit
`Drop` handler to be derived (this was further enforced by yanking v0.8
which was the only version with this behavior).
Now that everyone has migrated, `no_drop` no longer serves any purpose,
so this deprecates it by printing a warning.
0 commit comments