Built-in implementation of Tuple trait
This commit is contained in:
@@ -126,6 +126,8 @@ 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() {
|
||||
|
||||
Reference in New Issue
Block a user