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

Commit

Permalink
Removes unused snapshot errors (#34812)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jan 17, 2024
1 parent 32f260b commit d878899
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,6 @@ pub enum SnapshotError {
#[error("source({1}) - I/O error: {0}")]
IoWithSource(std::io::Error, &'static str),

#[error("source({1}) - I/O error: {0}, file: {2}")]
IoWithSourceAndFile(#[source] std::io::Error, &'static str, PathBuf),

#[error("could not get file name from path: {0}")]
PathToFileNameError(PathBuf),

Expand Down Expand Up @@ -358,9 +355,6 @@ pub enum SnapshotError {

#[derive(Error, Debug)]
pub enum SnapshotNewFromDirError {
#[error("I/O error: {0}")]
Io(#[from] std::io::Error),

#[error("invalid bank snapshot directory {0}")]
InvalidBankSnapshotDir(PathBuf),

Expand Down

0 comments on commit d878899

Please sign in to comment.