1 // rustfmt-reorder_imports: true
3 use std::cmp::{d, c, b, a};
4 use std::cmp::{b, e, g, f};
5 // This comment should stay with `use std::ddd;`
18 // If item names are equal, order by rename
20 use test::{a as aa, c};
21 use test::{a as bb, b};
24 // If item names are equal, order by rename - no rename comes before a rename
27 use test::{a as bb, b};
30 // `self` always comes first
32 use test::{self as bb, b};
33 use test::{a as aa, c};