Appease new nightly lints
@@ -71,7 +71,6 @@
unused_macro_rules,
unused_qualifications,
//unused_results,
- unused_tuple_struct_fields,
)]
#![allow(clippy::missing_safety_doc, clippy::len_without_is_empty)]
#![cfg_attr(
@@ -734,7 +734,10 @@ pub use bpf_printk;
/// Argument ready to be passed to `printk` BPF helper.
#[repr(transparent)]
#[derive(Copy, Clone)]
-pub struct PrintkArg(u64);
+pub struct PrintkArg(
+ #[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/119659): Remove.
+ u64,
+);
impl PrintkArg {
/// Manually construct a `printk` BPF helper argument.