about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-05-12 14:19:26 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-05-12 14:23:26 -0400
commitaa00e3a552d453f8af0d033d6207a0e09d159d2e (patch)
tree0a19e17062d44baf5da8f0f8c434e7fff53896e0 /src/libsyntax/errors
parente88defe71806ad190588e168e513bc1098f7c9fb (diff)
downloadrust-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/errors')
0 files changed, 0 insertions, 0 deletions