Add a rustdoc test

This is just a smoke test which verifies that the expected files are generated.
auto merge of #11032 : cmr/rust/rustdoc_test, r=alexcrichton

This is just a smoke test which verifies that the expected files are
generated.