2 Commits

Author SHA1 Message Date
Esteban Küber
2c3fd1a23a 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.
2023-08-14 19:41:57 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests 2023-01-11 09:32:08 +00:00