use super::problem::*;
use std::error::*;
pub trait IntoProblem {
fn into_problem(self) -> Problem;
}
impl<ErrorT> IntoProblem for ErrorT
where
ErrorT: 'static + Error + Send + Sync,
{
#[track_caller]
fn into_problem(self) -> Problem {
self.into()
}
}