s/generator/coroutine/
This commit is contained in:
@@ -301,7 +301,7 @@ pub enum ObligationCauseCode<'tcx> {
|
||||
InlineAsmSized,
|
||||
/// Captured closure type must be `Sized`.
|
||||
SizedClosureCapture(LocalDefId),
|
||||
/// Types live across generator yields must be `Sized`.
|
||||
/// Types live across coroutine yields must be `Sized`.
|
||||
SizedCoroutineInterior(LocalDefId),
|
||||
/// `[expr; N]` requires `type_of(expr): Copy`.
|
||||
RepeatElementCopy {
|
||||
|
||||
Reference in New Issue
Block a user