File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/librustc/mir/interpret Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -302,12 +302,10 @@ impl<O> PanicInfo<O> {
302
302
"attempt to calculate the remainder with a divisor of zero" ,
303
303
ResumedAfterReturn ( GeneratorKind :: Gen ) =>
304
304
"generator resumed after completion" ,
305
- // FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
306
305
ResumedAfterReturn ( GeneratorKind :: Async ( _) ) =>
307
306
"`async fn` resumed after completion" ,
308
307
ResumedAfterPanic ( GeneratorKind :: Gen ) =>
309
308
"generator resumed after panicking" ,
310
- // FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
311
309
ResumedAfterPanic ( GeneratorKind :: Async ( _) ) =>
312
310
"`async fn` resumed after panicking" ,
313
311
Panic { .. } | BoundsCheck { .. } =>
You can’t perform that action at this time.
0 commit comments