rustc: allow paths in constants to refer to polymorphic items.