From 528da0264c80ac03e4c823fa3503ba2cdf01a4f7 Mon Sep 17 00:00:00 2001 From: edef Date: Wed, 27 Jul 2022 03:40:49 +0000 Subject: ripple/minitrace: disable dead_code lint on SyscallArgs Every single syscall arg producing a warning is just noisy. Change-Id: I339260886110e2982217ebbf9d29cb1cf91c747c --- ripple/minitrace/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ripple/minitrace') diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index 3f27b16..cd0c004 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -99,6 +99,8 @@ macro_rules! define_syscalls { }) => { #[derive(Debug, Copy, Clone)] #[allow(non_camel_case_types)] + // TODO(edef): re-enable dead_code lint when we start fully interpreting syscall args + #[allow(dead_code)] enum $enum { $($id { $($arg_id : $arg_ty),* -- cgit 1.4.1