rust-lang/rust — pull request #19617 by nikomatsakis (2014-12-07 14:35:15+00:00)
Title: Fix various soundness bugs in HRTB / method resolution

**First commit.** Patch up debruijn indices. Fixes #19537.

**Second commit.** Stop reborrowing so much. Fixes #19147. Fixes #19261.

r? @nick29581