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> {
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 { .. } =>
You can’t perform that action at this time.
0 commit comments