s/generator/coroutine/

This commit is contained in:
Oli Scherer
2023-10-19 21:46:28 +00:00
parent 60956837cf
commit e96ce20b34
468 changed files with 2201 additions and 2197 deletions

View File

@@ -59,10 +59,10 @@ impl<'tcx> MirLint<'tcx> for ConstPropLint {
return;
}
// FIXME(welseywiser) const prop doesn't work on generators because of query cycles
// FIXME(welseywiser) const prop doesn't work on coroutines because of query cycles
// computing their layout.
if let DefKind::Coroutine = def_kind {
trace!("ConstPropLint skipped for generator {:?}", def_id);
trace!("ConstPropLint skipped for coroutine {:?}", def_id);
return;
}