about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2016-07-21 02:13:14 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2016-07-22 14:32:56 +0300
commitf3ee99bd4d9d282c33127449073c521f29b07c21 (patch)
tree5628ddb3c510048143500c5228f93e3cb64c3e82 /src/rustllvm/RustWrapper.cpp
parent712c5cadbbb460a0b313a2fbcdaa9d6e10a25b6b (diff)
downloadrust-f3ee99bd4d9d282c33127449073c521f29b07c21.tar.gz
rust-f3ee99bd4d9d282c33127449073c521f29b07c21.zip
try to recover the non-matching types in projection errors
The type equation in projection takes place under a binder and a snapshot, which
we can't easily take types out of. Instead, when encountering a projection error,
try to re-do the projection and find the type error then.

This fails to produce a sane type error when the failure was a "leak_check" failure.
I can't think of a sane way to show *these*, so I just left them use the old crappy
representation, and added a test to make sure we don't break them.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions