eaf2f90956
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. |
||
---|---|---|
.. | ||
back | ||
save | ||
trans | ||
Cargo.toml | ||
diagnostics.rs | ||
lib.rs | ||
README.txt |
See the README.md in ../librustc.