Also need to pad out "C-like" enum consts (paths as well as calls).
core: Remove transitional code
Make vectors of enums work as constants
Fix pointer consts to work with enums
Add a test for vstore, which already works
Fix const enum type issues for structs.
Make tuple-like structs containing enums work as constants.
Fix vector indexing in consts so it works with the enum vector const fix.
rm each method from the Map trait

the map types should implement BaseIter instead
implement BaseIter for TreeMap
make Option's map and map_default use a lifetime
implement BaseIter for SmallIntMap
add a ReverseIter trait
implement ReverseIter for TreeMap and TreeSet
implement ReverseIter for SmallIntMap
auto merge of #4745 : jld/rust/constenum-bis, r=graydon

There were a bunch of problems with consts where an enum was contained within some other type (vector, tuple, struct, etc.); some of these would cause LLVM assertion failures, and some would silently read from the wrong address.  These changes should fix all of that.

It would be good if someone with access to a win32 host could do the equivalent of `make check-stageN-rpass TESTNAME=enum` on that platform before merging this.
implement BaseIter for LinearMap
auto merge of #4834 : veddan/rust/zflags, r=graydon

Converted --static, --gc, --jit, -g and --xg to -Z flags.
fix map tests
Fixed #1531