rust/src/librustc_trans
Aaron Turon eaf2f90956 Refactor core specialization and subst translation code to avoid
danger of inference variables floating around without their inference
context.

The main insight here is that, when we are translating substitutions
between two impls, *we already know that the more specific impl holds*,
so we do not need to add its obligations to the parameter
environment. Instead, we can just thread through the inference context
we used to show select the more specific impl in the first place.
2016-03-14 15:04:40 -07:00
..
2016-03-03 07:37:56 +00:00
2016-03-03 07:37:56 +00:00
2016-03-14 09:29:18 +01:00
2016-03-10 12:50:12 +01:00

See the README.md in ../librustc.