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