mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 09:44:40 +00:00
Suggest `pin!()` instead of `Pin::new()` when appropriate When encountering a type that needs to be pinned but that is `!Unpin`, suggest using the `pin!()` macro. Fix #57994.