about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-12-04 20:06:41 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-12-10 19:45:19 -0500
commitca98fefd04b2a0ccd784f96538c824c49210a418 (patch)
treee5230aebe1d9cdd1d53d3f070050869c444c7e08 /src/libstd/sys/unix/stack_overflow.rs
parentc38e73fef53e8520e5170c40713e32ab965a8abe (diff)
downloadrust-ca98fefd04b2a0ccd784f96538c824c49210a418.tar.gz
rust-ca98fefd04b2a0ccd784f96538c824c49210a418.zip
Fix two bugs in HRTB: 1. Categorize early-vs-late bindings on impls when constructing generics, so that we don't add unnecessary region parameters. 2. Correct the DeBruijn indices when substituting the self type into the method signature.
Previously, the DeBruijn index for the self type was not being
adjusted to account for the fn binder. This mean that when late-bound
regions were instantiated, you sometimes wind up with two distinct
lifetimes.

Fixes #19537.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions