Restore tuple unsizing feature gate
This commit is contained in:
parent
24eefd08e2
commit
c02d1a6553
7 changed files with 57 additions and 19 deletions
|
@ -456,6 +456,9 @@ fn rematch_unsize<'tcx>(
|
|||
goal.param_env,
|
||||
ty::TraitRef::new(tcx, goal.predicate.def_id(), [*a_last_ty, *b_last_ty]),
|
||||
));
|
||||
|
||||
// We need to be able to detect tuple unsizing to require its feature gate.
|
||||
return Ok(Some(ImplSource::TupleUnsizing(nested)));
|
||||
}
|
||||
// FIXME: We *could* ICE here if either:
|
||||
// 1. the certainty is `Certainty::Yes`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue