diff --git a/src/cargo/util/errors.rs b/src/cargo/util/errors.rs index f23a329a4..771d1dc36 100644 --- a/src/cargo/util/errors.rs +++ b/src/cargo/util/errors.rs @@ -201,6 +201,11 @@ impl CargoError for ConcreteCargoError { box self as Box } + fn mark_human(mut self) -> Box { + self.is_human = true; + box self as Box + } + fn is_human(&self) -> bool { self.is_human }