From 72d9d3dc58d9cf6c6f6e0054bfea17fc02a340ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Tue, 22 Feb 2022 00:18:28 +0100 Subject: [PATCH] generic/threadshare: fix for nightly build --- generic/threadshare/src/runtime/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/threadshare/src/runtime/task.rs b/generic/threadshare/src/runtime/task.rs index 3f58f36d..e729a6fc 100644 --- a/generic/threadshare/src/runtime/task.rs +++ b/generic/threadshare/src/runtime/task.rs @@ -1451,7 +1451,7 @@ mod tests { state: TaskState::Error, .. } => (), - other => unreachable!(other), + _ => unreachable!(), } assert_eq!(