mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
535cd8d511
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.