1
Fork 0

Removed FIXME comment

This commit is contained in:
David Haig 2019-11-26 00:56:58 +00:00
parent 4b85ee2c05
commit eda2d416f6

View file

@ -302,12 +302,10 @@ impl<O> PanicInfo<O> {
"attempt to calculate the remainder with a divisor of zero", "attempt to calculate the remainder with a divisor of zero",
ResumedAfterReturn(GeneratorKind::Gen) => ResumedAfterReturn(GeneratorKind::Gen) =>
"generator resumed after completion", "generator resumed after completion",
// FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
ResumedAfterReturn(GeneratorKind::Async(_)) => ResumedAfterReturn(GeneratorKind::Async(_)) =>
"`async fn` resumed after completion", "`async fn` resumed after completion",
ResumedAfterPanic(GeneratorKind::Gen) => ResumedAfterPanic(GeneratorKind::Gen) =>
"generator resumed after panicking", "generator resumed after panicking",
// FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
ResumedAfterPanic(GeneratorKind::Async(_)) => ResumedAfterPanic(GeneratorKind::Async(_)) =>
"`async fn` resumed after panicking", "`async fn` resumed after panicking",
Panic { .. } | BoundsCheck { .. } => Panic { .. } | BoundsCheck { .. } =>