diff --git a/common/cros_asyncv2/src/executor.rs b/common/cros_asyncv2/src/executor.rs index 2547c38ea5..b7cd9ef3ce 100644 --- a/common/cros_asyncv2/src/executor.rs +++ b/common/cros_asyncv2/src/executor.rs @@ -541,7 +541,7 @@ mod test { pin_mut!(pending, done); match select(pending, done).await { - Either::Right((5, pending)) => drop(pending), + Either::Right((5, _pending)) => (), _ => panic!("unexpected select result"), } }