Introduce GeneratorWitnessMIR.
This commit is contained in:
parent
03618d6afd
commit
1974b6b68d
52 changed files with 265 additions and 72 deletions
|
@ -1285,6 +1285,9 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
ty::GeneratorWitness(tys) => {
|
||||
stack.extend(tcx.erase_late_bound_regions(tys).to_vec());
|
||||
}
|
||||
ty::GeneratorWitnessMIR(..) => {
|
||||
todo!()
|
||||
}
|
||||
|
||||
// If we have a projection type, make sure to normalize it so we replace it
|
||||
// with a fresh infer variable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue