fix typos in sample code, add enum to json encoder, add test case
json bugfixes
tidy
json bugfix
json add enum encoder test case
re-special-case Option in JSON encoding
json tidy
added issue for reference in FIXME
added rather elaborate test framework
libsyntax: don't parse ////, /***/ as doc comments
Partially de-vec-mut librustc
RIMOV core::run
RIMOV core::rand
RIMOV core::io
RIMOV core::hash
RIMOV core::vec

Also remove as many uses as possible of vec::cast_to_mut and
cast_from_mut
retabbing
auto merge of #4515 : graydon/rust/bench-harness, r=graydon

This is scaffolding for the new #[bench] attribute for marking unit tests as benchmarks. They are run with the --bench flag that the test runner now accepts. The runner automatically calibrates a test loop to an appropriate count to get a good per-iteration measurement.
rt: get rid of rust_fn and replace with fn_env_pair plus a little cleanup.
rt: take into account alignment for debug_opaque. Closes #2667