return when obligation has references_error
This commit is contained in:
@@ -899,6 +899,10 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
||||
return;
|
||||
}
|
||||
|
||||
if obligation.references_error() {
|
||||
return;
|
||||
}
|
||||
|
||||
candidates.vec.push(TransmutabilityCandidate);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user