diff options
| author | 2026-10-06 17:29:31 +0200 | |
|---|---|---|
| committer | 2026-10-07 12:52:27 +0200 | |
| commit | 70ff1ccded06372e80acb5a67b710c3e979e3f4b (patch) | |
| tree | 44e992e8ec3e15278948e963a65166808ffede8d /scripts/Makefile.thinlto | |
| parent | rust: proc-macro2: enable `proc_macro_span` feature (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
