We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b85ee2 commit eda2d41Copy full SHA for eda2d41
src/librustc/mir/interpret/error.rs
@@ -302,12 +302,10 @@ impl<O> PanicInfo<O> {
302
"attempt to calculate the remainder with a divisor of zero",
303
ResumedAfterReturn(GeneratorKind::Gen) =>
304
"generator resumed after completion",
305
- // FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
306
ResumedAfterReturn(GeneratorKind::Async(_)) =>
307
"`async fn` resumed after completion",
308
ResumedAfterPanic(GeneratorKind::Gen) =>
309
"generator resumed after panicking",
310
311
ResumedAfterPanic(GeneratorKind::Async(_)) =>
312
"`async fn` resumed after panicking",
313
Panic { .. } | BoundsCheck { .. } =>
0 commit comments