rust/src/librustc/middle
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
..
borrowck auto merge of #13083 : FlaPer87/rust/issue-13005-borrow-unsafe-static, r=nikomatsakis 2014-03-25 03:01:48 -07:00
cfg rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
trans auto merge of #13117 : alexcrichton/rust/no-crate-map, r=brson 2014-03-26 01:41:57 -07:00
typeck Fix #13140: Early/Late Bound related ICEs. 2014-03-26 17:54:49 +01:00
astencode.rs Implement cross-crate support for autoderef. 2014-03-23 01:11:39 +02:00
check_const.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
check_loop.rs De-@ ty::ctxt usage. 2014-03-17 09:53:06 +02:00
check_match.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
check_static.rs Allow static items that don't fulfill Freeze 2014-03-20 10:17:28 +01:00
const_eval.rs Implement vtable support for autoderef. 2014-03-22 23:31:42 +02:00
dataflow.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
dead.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
effect.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
entry.rs Removing imports of std::vec_ng::Vec 2014-03-20 09:30:14 -07:00
freevars.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
graph.rs Removing imports of std::vec_ng::Vec 2014-03-20 09:30:14 -07:00
kind.rs auto merge of #13076 : FlaPer87/rust/remove-freeze, r=alexcrichton 2014-03-22 13:01:52 -07:00
lang_items.rs rustc: Remove all crate map support 2014-03-24 11:19:28 -07:00
lint.rs rustc: Remove all crate map support 2014-03-24 11:19:28 -07:00
liveness.rs rustc: Remove all usage of manual deref() 2014-03-22 08:48:34 -07:00
mem_categorization.rs use TotalEq for HashMap 2014-03-23 01:59:11 -04:00
moves.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
pat_util.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
privacy.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
reachable.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
region.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
resolve_lifetime.rs Migrate all users of opt_vec to owned_slice, delete opt_vec. 2014-03-22 09:54:18 +11:00
resolve.rs use TotalEq for HashMap 2014-03-23 01:59:11 -04:00
subst.rs rustc: Remove all usage of manual deref() 2014-03-22 08:48:34 -07:00
ty_fold.rs Removing imports of std::vec_ng::Vec 2014-03-20 09:30:14 -07:00
ty.rs use TotalEq for HashMap 2014-03-23 01:59:11 -04:00