1
Fork 0

Remove tuple candidate, nothing special about it

This commit is contained in:
Michael Goulet 2022-10-07 16:19:21 +00:00
parent 0ca356586f
commit 8b9a1f1f4e
8 changed files with 9 additions and 28 deletions

View file

@ -126,8 +126,6 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
let data = self.confirm_const_destruct_candidate(obligation, def_id)?;
ImplSource::ConstDestruct(data)
}
TupleCandidate => ImplSource::Tuple,
};
if !obligation.predicate.is_const_if_const() {