about summary refs log tree commit diff
path: root/src/libstd/sys/unix/ext/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-11 10:34:09 +0000
committerbors <bors@rust-lang.org>2019-02-11 10:34:09 +0000
commit57d7cfc3cf50f0c427ad3043ff09eaef20671320 (patch)
treed40593847d0095027e50bd7a500c50530f90290f /src/libstd/sys/unix/ext/mod.rs
parent576df31bedd35a1c7336ce7259bbe93ab662edef (diff)
parent5ef71508fec1e2f89b257f6b6b65e5ca3295d658 (diff)
downloadrust-57d7cfc3cf50f0c427ad3043ff09eaef20671320.tar.gz
rust-57d7cfc3cf50f0c427ad3043ff09eaef20671320.zip
Auto merge of #56645 - pietroalbini:fix-unused-imports, r=estebank
Initial implementation of rustfixable unused_imports lint

This PR adds the initial implementation of rustfixable `unused_imports` lint. The implementation works, but rustfix is not able to apply all the suggestions until https://github.com/rust-lang/rust/issues/53934 is fixed. It also needs https://github.com/rust-lang/rust/pull/58296 to hide the suggested note since it's really useless.

cc https://github.com/rust-lang/rust/issues/47888

<details><summary><code>cargo fix</code> in action on the <code>unused_imports</code> lint</summary>

![screenshot from 2018-12-09 15-49-01](https://user-images.githubusercontent.com/2299951/49698874-3a026080-fbca-11e8-9bf1-24060b6c59c8.png)

</details>
Diffstat (limited to 'src/libstd/sys/unix/ext/mod.rs')
0 files changed, 0 insertions, 0 deletions