Skip to content

Commit

Permalink
token-cli: Add unreachable pattern for future change (#7446)
Browse files Browse the repository at this point in the history
#### 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.
  • Loading branch information
joncinque authored Nov 4, 2024
1 parent b8a6160 commit 412f94d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions token/cli/src/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(()),
}
}

Expand Down

0 comments on commit 412f94d

Please sign in to comment.