Re: [PATCH v2 1/2] rust: pin-init: internal: move alignment check to `make_field_check`

From: Alice Ryhl

Date: Mon Apr 27 2026 - 03:45:02 EST


On Thu, Apr 23, 2026 at 03:51:49PM +0100, Gary Guo wrote:
> Instead of having the reference creation serving dual-purpose as both for
> let bindings and alignment check, detangle them so that the alignment check
> is done explicitly in `make_field_check`. This is more robust again
> refactors that may change the way let bindings are created.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>