From 940a06813bca6d76ddbfca7b47b140a46d42e6f0 Mon Sep 17 00:00:00 2001 From: Jonas Platte <158304798+svix-jplatte@users.noreply.github.com> Date: Wed, 3 Apr 2024 16:59:17 +0200 Subject: [PATCH] Deprecate QueueError::Unsupported (#66) --- omniqueue/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/omniqueue/src/lib.rs b/omniqueue/src/lib.rs index 0b87503..eeb492e 100644 --- a/omniqueue/src/lib.rs +++ b/omniqueue/src/lib.rs @@ -121,7 +121,9 @@ pub enum QueueError { #[error("{0}")] Generic(Box), + #[error("{0}")] + #[deprecated = "This variant is never created inside omniqueue"] Unsupported(&'static str), }