mozilla/rust — pull request #13112 by ktt3ja (2014-03-24 06:07:48+00:00)
Title: Visit type parameter in lifetime suggestion

Previously, Rebuilder did not visit type parameters when rebuilding
generics and path, so in some cases the suggestion turns out to be
erroneous.

I added a test case for when there's a type parameter on a path segment (i.e., `Dog` in `Cat<'x, Dog>`). I do not have a test case for when there's a type parameter inside function generic because of the ICE (see #13058).