mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +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.