rust-lang/rust — pull request #20295 by eddyb (2014-12-29 14:06:15+00:00)
Title: Allow paths in constants to refer to polymorphic items.

See the added run-pass test for all the newly supported cases.
This is a prerequisite for rvalue promotion. Fixes #13970.
r? @nikomatsakis