mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 11:55:31 +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.