about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2014-03-25 18:37:18 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2014-03-26 17:54:49 +0100
commit6b5ca8b1aa325e416a5818b40091e96fe00abbde (patch)
tree2b0bed3181429d4b50dd37ac7674b7889945c9ec /src/rustllvm/ExecutionEngineWrapper.cpp
parent0908ffa660667f90186f79e70fd13d68e99836bf (diff)
downloadrust-6b5ca8b1aa325e416a5818b40091e96fe00abbde.tar.gz
rust-6b5ca8b1aa325e416a5818b40091e96fe00abbde.zip
Fix #13140: Early/Late Bound related ICEs.
The problem was that we need to apply the substitution, so that the
formal lifetime parameters get replaced with (unifiable)
free-lifetimes that can actually be fed into the constraint solver.

Also, refactor code os that substitution for `check_item` and
`check_method`, moving both down the control flow into `check_bare_fn`.

----

Finally, there was another (similar) spot where we needed to
substitute early-bound lifetimes when invoking an object method of a
trait.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions