diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-01-06 05:03:42 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-01-06 13:42:42 -0500 |
| commit | 2486d93e5b8a3dd62fa6d257d4086e19c0e0edd6 (patch) | |
| tree | 51b1e0c875588aff6c1c61d2868bd887bace9937 /src/rustllvm/RustWrapper.cpp | |
| parent | 8efd9901b628d687d11a4d0ccc153553b38ada49 (diff) | |
| download | rust-2486d93e5b8a3dd62fa6d257d4086e19c0e0edd6.tar.gz rust-2486d93e5b8a3dd62fa6d257d4086e19c0e0edd6.zip | |
Fix ICE that @steveklabnik encountered in rust-ice. The problems turned out to be that were being very loose with bound regions in trans (we were basically just ignoring and flattening binders). Since binders are significant to subtyping and hence to trait selection, this can cause a lot of problems. So this patch makes us treat them more strictly -- for example, we propagate binders, and avoid skipping past the `Binder` by writing `foo.0`.
Fixes #20644.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
