mozilla/rust — pull request #4848 by nikomatsakis (2013-02-08 15:41:53+00:00)
Title: Fix subtle error in caching during kind computation that could cause lin...

...ear

values to be copied. Rewrite kind computation so that instead of directly
computing the kind it computes what kinds of values are present in the type,
and then derive kinds based on that. I find this easier to think about.

Fixes #4821.

r? @catamorphism