diff --git a/src/common/procedure/src/procedure.rs b/src/common/procedure/src/procedure.rs index 9cdc13867351..b46428eb6860 100644 --- a/src/common/procedure/src/procedure.rs +++ b/src/common/procedure/src/procedure.rs @@ -57,6 +57,7 @@ impl Status { Status::Done { output: None } } + #[cfg(any(test, feature = "testing"))] /// Downcasts [Status::Done]'s output to &T /// #Panic: /// - if [Status] is not the [Status::Done].