From 9f11e811e40fc37dace6808138aa43c0dba36fa3 Mon Sep 17 00:00:00 2001 From: Jon C Date: Fri, 1 Nov 2024 22:42:16 +0100 Subject: [PATCH] token-cli: Add unreachable pattern for future change #### Problem The downstream job in https://github.com/anza-xyz/agave/pull/3431 is failing because of the new addition to the `UiExtension` enum. #### Summary of changes We've done this before: temporarily add a wildcard pattern so that the downstream job passes. --- token/cli/src/output.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/token/cli/src/output.rs b/token/cli/src/output.rs index 1ff0dd08bd2..335d6197d0a 100644 --- a/token/cli/src/output.rs +++ b/token/cli/src/output.rs @@ -991,6 +991,9 @@ fn display_ui_extension( " Unparseable extension:", "Consider upgrading to a newer version of spl-token", ), + // remove when upgrading v2.1.1+ and match on ConfidentialMintBurn + #[allow(unreachable_patterns)] + _ => Ok(()), } }