]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/imports_granularity_module.rs
Auto merge of #95246 - ChrisDenton:command-args, r=joshtriplett
[rust.git] / src / tools / rustfmt / tests / source / imports_granularity_module.rs
1 // rustfmt-imports_granularity: Module
2
3 use a::{b::c, d::e};
4 use a::{f, g::{h, i}};
5 use a::{j::{self, k::{self, l}, m}, n::{o::p, q}};
6 pub use a::{r::s, t};
7 use b::{c::d, self};
8
9 #[cfg(test)]
10 use foo::{a::b, c::d};
11 use foo::e;
12
13 use bar::{
14     // comment
15     a::b,
16     // more comment
17     c::d,
18     e::f,
19 };