diff options
| author | Gary Guo <gary@garyguo.net> | 2026-10-11 14:32:18 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2026-10-12 00:27:53 +0100 |
| commit | b7218f1996f8491dbe28632b70f444cb73f554df (patch) | |
| tree | d381f899402f97cd0aa4edade1160fafe5a47d34 /tools/perf/scripts/python/bin | |
| parent | 73cf61724648ad57dd5664a0e2915e20fd304650 (diff) | |
rust: pin-init: internal: suppress `explicit_outlives_requirements`
`#[pin_data]` inserts outlive bounds between lifetimes to allow closure
callbacks to rely on their relationship. In some cases, these relations are
implied by fields, and Rust generates `explicit_outlives_requirements`
allow-by-default lint, which is turned out by kernel as part of
rust-2018-idioms lint group.
As `#[pin_data]` is a proc macro and it cannot know if the bounds are
already implied, suppress such lints for generated code.
Link: https://patch.msgid.link/20261011133904.600785-1-gary@kernel.org
Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
