Apply lint attrs to individual "use" declarations

Fixes #10534
auto merge of #13671 : dcrewi/rust/lint-directives-on-use-items, r=alexcrichton

Fixes #10534