fix the check-stageN-doc-$doc targets, close #5661
auto merge of #6689 : graydon/rust/issue-5661-doc-test-targets, r=graydon

Re-enables `make check-stage2-doc-tutorial` and friends. r? @brson