diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2016-10-25 23:24:09 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2016-11-08 17:44:21 -0800 |
| commit | a820d99eb28fcc144c97fc3d152b272d85f6e280 (patch) | |
| tree | 15b8d2841026d0b5b472344a21ec5f9f27a75e69 /src/test/run-pass/thinlto | |
| parent | 0491a231777735ba050c208ce621df93f863bf7c (diff) | |
| download | rust-a820d99eb28fcc144c97fc3d152b272d85f6e280.tar.gz rust-a820d99eb28fcc144c97fc3d152b272d85f6e280.zip | |
Group unused import warnings per path list
Given a file
```rust
use std::collections::{BinaryHeap, BTreeMap, BTreeSet};
fn main() {}
```
Show a single warning, instead of three for each unused import:
```nocode
warning: unused imports, #[warn(unused_imports)] on by default
--> foo.rs:1:24
|
1 | use std::collections::{BinaryHeap, BTreeMap, BTreeSet};
| ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^
```
Include support for lints pointing at `MultilineSpan`s, instead of just
`Span`s.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
