summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-10-06 17:29:37 +0200
committerGary Guo <gary@garyguo.net>2026-10-07 12:52:28 +0200
commitec87b5938354046ca79a3ed7fcd89a2cb9469f11 (patch)
tree647df3d4474e3951e8d86c96f8fccd568b5f6214 /scripts
parent93bfdb53067cca9b89632022bd3f4560e03ac015 (diff)
downloadlinux-next-ec87b5938354046ca79a3ed7fcd89a2cb9469f11.tar.gz
linux-next-ec87b5938354046ca79a3ed7fcd89a2cb9469f11.zip
rust: pin-init: internal: pin_data: rename `'__pin` lifetime to `'__this`
"pin" is a very overloaded word in pin-init. For the generated projection structs, the lifetime refer to that of the whole struct, so rename the lifetime used in expansion from `'__pin` to `'__this` instead. The `__pin_phantom_data` field is renamed to `__this` for the same reason and for clarity purpose, capture a `PhantomData` of the mutable reference to the struct. Acked-by: Benno Lossin <lossin@kernel.org> Link: https://patch.msgid.link/20261006-dev-selfref-dep-v1-7-da716f740d6d@garyguo.net Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions