about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-01-06 05:03:42 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-01-06 13:42:42 -0500
commit2486d93e5b8a3dd62fa6d257d4086e19c0e0edd6 (patch)
tree51b1e0c875588aff6c1c61d2868bd887bace9937 /src/test/codegen/stack-alloc-string-slice.rs
parent8efd9901b628d687d11a4d0ccc153553b38ada49 (diff)
downloadrust-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/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions