rustdoc: More selectively remove execute links

Closes #14723
auto merge of #14730 : alexcrichton/rust/issue-14723, r=cmr

Closes #14723