mozilla/rust — pull request #7827 by jdm (2013-07-16 18:27:25+00:00)
Title: Permit C-style enums in vector repeat length expressions (N.B. values only, not type signatures)

Allowing them in type signatures is a significant amount of extra work, unfortunately. This also doesn't apply to static values, which takes a different code path.