Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 412f94d

Browse files
authored
token-cli: Add unreachable pattern for future change (#7446)
#### Problem The downstream job in anza-xyz/agave#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.
1 parent b8a6160 commit 412f94d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

token/cli/src/output.rs

+3
Original file line numberDiff line numberDiff line change
@@ -991,6 +991,9 @@ fn display_ui_extension(
991991
" Unparseable extension:",
992992
"Consider upgrading to a newer version of spl-token",
993993
),
994+
// remove when upgrading v2.1.1+ and match on ConfidentialMintBurn
995+
#[allow(unreachable_patterns)]
996+
_ => Ok(()),
994997
}
995998
}
996999

0 commit comments

Comments
 (0)