diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-05-12 14:19:26 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-05-12 14:23:26 -0400 |
| commit | aa00e3a552d453f8af0d033d6207a0e09d159d2e (patch) | |
| tree | 0a19e17062d44baf5da8f0f8c434e7fff53896e0 /src/libsyntax | |
| parent | e88defe71806ad190588e168e513bc1098f7c9fb (diff) | |
| download | rust-aa00e3a552d453f8af0d033d6207a0e09d159d2e.tar.gz rust-aa00e3a552d453f8af0d033d6207a0e09d159d2e.zip | |
re-introduce a cache for ast-ty-to-ty
It turns out that `ast_ty_to_ty` is supposed to be updating the `def` after it finishes, but at some point in the past it stopped doing so. This was never noticed because of the `ast_ty_to_ty_cache`, but that cache was recently removed. This PR fixes the code to update the def properly, but apparently that is not quite enough to make the operation idempotent, so for now we reintroduce the cache too. Fixes #33425.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions
