diff options
| author | Benno Lossin <lossin@kernel.org> | 2026-01-16 11:54:27 +0100 |
|---|---|---|
| committer | Benno Lossin <lossin@kernel.org> | 2026-01-17 10:51:42 +0100 |
| commit | d26732e57b06ef32dadfc32d5de9ac39262698cb (patch) | |
| tree | 9e8fae8bd95d09d9d1d58563d3402aeeb9bf53b6 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | d083a6214ca6d486ac58f84f8964c72028469342 (diff) | |
rust: pin-init: internal: init: add support for attributes on initializer fields
Initializer fields ought to support the same attributes that are allowed
in struct initializers on fields. For example, `cfg` or lint levels such
as `expect`, `allow` etc. Add parsing support for these attributes using
syn to initializer fields and adjust the macro expansion accordingly.
Tested-by: Andreas Hindborg <a.hindborg@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Benno Lossin <lossin@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
