Felix S. Klock II 6b5ca8b1aa 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.
2014-03-26 17:54:49 +01:00
..
2014-03-22 08:48:20 -07:00
2014-03-17 09:53:06 +02:00
2014-03-22 08:48:20 -07:00
2014-03-22 08:48:20 -07:00
2014-03-20 09:30:14 -07:00
2014-03-20 09:30:14 -07:00
2014-03-24 11:19:28 -07:00
2014-03-23 01:59:11 -04:00
2014-03-22 08:48:20 -07:00
2014-03-22 08:48:20 -07:00
2014-03-23 01:59:11 -04:00
2014-03-23 01:59:11 -04:00