diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-07-22 16:52:11 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-07-22 16:57:08 -0400 |
| commit | 8ffc04b0325b0efc749121d03f92538daef37a11 (patch) | |
| tree | 243ccd3b57d2b23e84dc5ba3485d28b7ce9b44f4 /src/libstd/sys | |
| parent | d15e2656e574533704cee927592f6dbe2ee59c5f (diff) | |
| download | rust-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/sys')
0 files changed, 0 insertions, 0 deletions
