about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-07 17:37:44 +0000
committerbors <bors@rust-lang.org>2018-12-07 17:37:44 +0000
commita40fdeddd81965ee08344fbdd2dbdc04adf24561 (patch)
tree64f450ee94bee444e09ee90d6f7365a34b72b78d /src/libstd/thread
parent1c3236afc3560b5781acf942a4746aeb11e5374e (diff)
parent4a286d33f9833d001d1b6ee7272b2afc9b7ff425 (diff)
downloadrust-a40fdeddd81965ee08344fbdd2dbdc04adf24561.tar.gz
rust-a40fdeddd81965ee08344fbdd2dbdc04adf24561.zip
Auto merge of #56460 - davidtwco:issue-55850, r=pnkfelix
Fix ICE with generators and NLL

Fix #55850.

This PR stops an ICE in #55850 by not panicking when a region cannot be named. However, this PR does not (yet) fix the underlying issue that the correct name for the test case provided for the issue (in this instance, `'a`) was not found.

This PR also lays a little bit of groundwork by categorizing yields separately from returns so that region naming can be specialized for this case.

r? @pnkfelix
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions