mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
f933d31115
Also extends an existing test to avoid regression.
11 lines
295 B
Rust
11 lines
295 B
Rust
// rustfmt-reorder_imports: true
|
|
// rustfmt-reorder_imported_names: true
|
|
|
|
/// This comment should stay with `use std::str;`
|
|
use std::str;
|
|
use std::cmp::{d, c, b, a};
|
|
use std::ddd::aaa;
|
|
use std::ddd::{d as p, c as g, b, a};
|
|
// This comment should stay with `use std::ddd:bbb;`
|
|
use std::ddd::bbb;
|