]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/imports_granularity_crate.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / tools / rustfmt / tests / target / imports_granularity_crate.rs
1 // rustfmt-imports_granularity: Crate
2
3 use a::{a, b, c, d, e, f, g};
4
5 #[doc(hidden)]
6 use a::b;
7 use a::{c, d};
8
9 #[doc(hidden)]
10 use a::b;
11 use a::{c, d, e};
12
13 use foo::{a, b, c};
14 pub use foo::{bar, foobar};
15
16 use a::b::c::{d, xxx, yyy, zzz, *};
17
18 // https://github.com/rust-lang/rustfmt/issues/3808
19 use d::{self};
20 use e::{self as foo};
21 use f::{self, b};
22 use g::{self, a, b};
23 use h::a;
24 use i::a::{self};
25 use j::a::{self};
26
27 use k::{a, b, c, d};
28 use l::{a, b, c, d};