use error;
use fmt;
use result;
;
pub type Result<T> = Result;
// Ideally the generic bound would be `T: string::ToString`, but that does not compile because
// specialization is not stable and this would thus conflict with the blanket implementation of
// `From`. This is a workaround for this issue, with the unfortunate consequence that `Error`
// cannot implement `error::Error` (otherwise we'd run into the same issue).