linux/rust/macros
Tamir Duberstein 9578c3906c rust: macros: reduce collections in quote! macro
Remove a handful of unnecessary intermediate vectors and token streams;
mainly the top-level stream can be directly extended with the notable
exception of groups.

Remove an unnecessary `#[allow(dead_code)]` added in commit dbd5058ba6
("rust: make pin-init its own crate").

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-09-22 20:57:02 +02:00
..
concat_idents.rs
export.rs rust: add #[export] macro 2025-03-09 20:52:46 +01:00
helpers.rs rust: kunit: support KUnit-mapped assert! macros in #[test]s 2025-05-27 20:07:09 +02:00
kunit.rs rust: kunit: support checked -> Results in KUnit #[test]s 2025-05-27 20:09:59 +02:00
lib.rs rust: add kunit_tests to the prelude 2025-05-27 20:09:59 +02:00
module.rs Rust changes for v6.17 2025-08-03 13:49:10 -07:00
paste.rs rust: clean Rust 1.88.0's clippy::uninlined_format_args lint 2025-05-07 00:11:47 +02:00
quote.rs rust: macros: reduce collections in quote! macro 2025-09-22 20:57:02 +02:00
vtable.rs rust: macros: vtable: fix HAS_* redefinition (gen_const_name) 2023-08-09 21:15:07 +02:00