Skip to content

Commit df6fb72

Browse files
committed
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 d44cf63 commit df6fb72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clients/cli/src/output.rs

Lines changed: 3 additions & 0 deletions
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)