2020-12-15 17:19:54 -08:00
|
|
|
// rustfmt-imports_granularity: Crate
|
2018-04-06 22:32:30 +09:00
|
|
|
|
|
|
|
use a::{c,d,b};
|
|
|
|
use a::{d, e, b, a, f};
|
|
|
|
use a::{f, g, c};
|
|
|
|
|
|
|
|
#[doc(hidden)]
|
|
|
|
use a::b;
|
|
|
|
use a::c;
|
|
|
|
use a::d;
|
|
|
|
|
|
|
|
use a::{c, d, e};
|
|
|
|
#[doc(hidden)]
|
|
|
|
use a::b;
|
|
|
|
use a::d;
|
|
|
|
|
|
|
|
pub use foo::bar;
|
|
|
|
use foo::{a, b, c};
|
|
|
|
pub use foo::foobar;
|
|
|
|
|
|
|
|
use a::{b::{c::*}};
|
|
|
|
use a::{b::{c::{}}};
|
|
|
|
use a::{b::{c::d}};
|
|
|
|
use a::{b::{c::{xxx, yyy, zzz}}};
|
2019-09-26 20:02:41 -05:00
|
|
|
|
|
|
|
// https://github.com/rust-lang/rustfmt/issues/3808
|
|
|
|
use d::{self};
|
|
|
|
use e::{self as foo};
|
|
|
|
use f::{self, b};
|
|
|
|
use g::a;
|
|
|
|
use g::{self, b};
|
2019-09-26 20:11:11 -05:00
|
|
|
use h::{a};
|
|
|
|
use i::a::{self};
|
|
|
|
use j::{a::{self}};
|
2020-12-15 17:19:54 -08:00
|
|
|
|
|
|
|
use {k::{a, b}, l::{a, b}};
|
|
|
|
use {k::{c, d}, l::{c, d}};
|