Mark provided methods in dead-code pass
auto merge of #11246 : ktt3ja/rust/issue-11224, r=alexcrichton

Close #11224