Skip to content

Commit eda2d41

Browse files
author
David Haig
committed
Removed FIXME comment
1 parent 4b85ee2 commit eda2d41

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustc/mir/interpret/error.rs

-2
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,10 @@ impl<O> PanicInfo<O> {
302302
"attempt to calculate the remainder with a divisor of zero",
303303
ResumedAfterReturn(GeneratorKind::Gen) =>
304304
"generator resumed after completion",
305-
// FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
306305
ResumedAfterReturn(GeneratorKind::Async(_)) =>
307306
"`async fn` resumed after completion",
308307
ResumedAfterPanic(GeneratorKind::Gen) =>
309308
"generator resumed after panicking",
310-
// FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
311309
ResumedAfterPanic(GeneratorKind::Async(_)) =>
312310
"`async fn` resumed after panicking",
313311
Panic { .. } | BoundsCheck { .. } =>

0 commit comments

Comments
 (0)