Removed FIXME comment
This commit is contained in:
parent
4b85ee2c05
commit
eda2d416f6
1 changed files with 0 additions and 2 deletions
|
@ -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 { .. } =>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue