summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-10-06 17:29:31 +0200
committerGary Guo <gary@garyguo.net>2026-10-07 12:52:27 +0200
commit70ff1ccded06372e80acb5a67b710c3e979e3f4b (patch)
tree44e992e8ec3e15278948e963a65166808ffede8d /tools/lib/python
parent499b8f8a5d0401a6ab83b346a307f923640a024a (diff)
downloadlinux-next-70ff1ccded06372e80acb5a67b710c3e979e3f4b.tar.gz
linux-next-70ff1ccded06372e80acb5a67b710c3e979e3f4b.zip
rust: pin-init: internal: init: forget guards in reverse order
Currently, the forget order is the same as initialization order, this is the wrong way around compared to their drop order when going out-of-scope. The wrong order will cause borrow checker errors if there are lifetime dependencies between the guards. This does not matter for now because there cannot be any lifetime dependency; it would matter for self-referential borrows. Reverse the order to be consistent with their out-of-scope drop order. Acked-by: Benno Lossin <lossin@kernel.org> Link: https://patch.msgid.link/20261006-dev-selfref-dep-v1-1-da716f740d6d@garyguo.net Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions