Fallible<_> -> Result<_, NoSolution>
This commit is contained in:
parent
91525a4324
commit
0a35db5e0d
17 changed files with 55 additions and 53 deletions
|
@ -95,8 +95,6 @@ pub type CanonicalTypeOpNormalizeGoal<'tcx, T> =
|
|||
#[derive(Copy, Clone, Debug, HashStable, PartialEq, Eq)]
|
||||
pub struct NoSolution;
|
||||
|
||||
pub type Fallible<T> = Result<T, NoSolution>;
|
||||
|
||||
impl<'tcx> From<TypeError<'tcx>> for NoSolution {
|
||||
fn from(_: TypeError<'tcx>) -> NoSolution {
|
||||
NoSolution
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue