Fix 'renamed lint' warnings
auto merge of #18808 : ebfe/rust/lint-names, r=alexcrichton