about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-07-22 16:52:11 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-07-22 16:57:08 -0400
commit8ffc04b0325b0efc749121d03f92538daef37a11 (patch)
tree243ccd3b57d2b23e84dc5ba3485d28b7ce9b44f4 /src/libstd
parentd15e2656e574533704cee927592f6dbe2ee59c5f (diff)
downloadrust-8ffc04b0325b0efc749121d03f92538daef37a11.tar.gz
rust-8ffc04b0325b0efc749121d03f92538daef37a11.zip
Avoid writing a temporary closure kind
We used to write a temporary closure kind into the inference table, but
this could lead to obligations being incorrectled resolved before
inference had completed. This result could then be cached, leading to
further trouble. This patch avoids writing any closure kind until the
computation is complete.

Fixes #34349.
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions