diff options
| author | Gary Guo <gary@garyguo.net> | 2026-05-12 15:09:50 +0300 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2026-05-18 14:18:06 +0300 |
| commit | 27693a56e8a697f78db535aad2d5267f286e1f51 (patch) | |
| tree | a1ee67ef184a29b6be1b0747e349532b03852ef1 /include/linux/debugobjects.h | |
| parent | df1827babd665ea7039383dbc5c671b66a65c1ec (diff) | |
| download | linux-27693a56e8a697f78db535aad2d5267f286e1f51.tar.xz | |
rust: pin-init: internal: use marker on drop guard type for pinned fields
Instead of projecting the created reference, simply create drop guards with
different marker types and have the `let_binding()` method of guards of
different marker produce different type instead.
This allows more flexible lifetime as this is now controlled by the guard.
This will be needed when implementing self-referential fields.
Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
