Replace bug! call with Overflow
This commit is contained in:
parent
7061b27757
commit
632f9c4d6e
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ impl<'a, 'tcx> Lift<'tcx> for traits::SelectionError<'a> {
|
|||
super::ConstEvalFailure(ref err) => tcx.lift(&**err).map(|err| super::ConstEvalFailure(
|
||||
err.into(),
|
||||
)),
|
||||
super::Overflow => bug!(), // FIXME: ape ConstEvalFailure?
|
||||
super::Overflow => Some(super::Overflow),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue