From 59e09078bb0f4fe93e18a9877f18a075f83d517a Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Mon, 6 Oct 2025 16:52:16 +0100 Subject: [PATCH] radicle: mark `CheckoutError` as `non_exhaustive` Recently, this error enum was changed. To ensure it does not cause crate version changes, in the future, mark it as `non_exhaustive`. --- crates/radicle/src/rad.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/radicle/src/rad.rs b/crates/radicle/src/rad.rs index d9754e9a..8497f1dd 100644 --- a/crates/radicle/src/rad.rs +++ b/crates/radicle/src/rad.rs @@ -225,6 +225,7 @@ where } #[derive(Error, Debug)] +#[non_exhaustive] pub enum CheckoutError { #[error("failed to fetch to working copy: {0}")] FetchIo(#[source] std::io::Error),