1 2 3 4 5 6 7 8 9 10 11 12
/// Common result type pub type CargoResult<T> = anyhow::Result<T>; /// Common error type pub type Error = anyhow::Error; pub use anyhow::Context; /// CLI-specific result pub type CliResult = Result<(), CliError>; pub use cargo::util::errors::CliError;