-
Notifications
You must be signed in to change notification settings - Fork 890
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more tests to imports_granularity_one
- Loading branch information
1 parent
efd030c
commit 7e7ceb9
Showing
3 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,38 @@ | ||
// rustfmt-imports_granularity: One | ||
|
||
use a; | ||
|
||
use a; | ||
use b; | ||
use a::ac::{aca, acb}; | ||
use a::{aa::*, ab}; | ||
|
||
use a; | ||
use a::{ab, aa::aaa}; | ||
use a as x; | ||
use b::ba; | ||
use a::{aa, ab}; | ||
|
||
use a::aa; | ||
use a::ab::{aba, abb}; | ||
use b::ba::{baa as foo, bab}; | ||
use a::aa::aaa; | ||
use a::ab::aba as x; | ||
use a::aa::*; | ||
|
||
use a::aa; | ||
use a::ad::ada; | ||
#[cfg(test)] | ||
use a::{ab, ac::aca}; | ||
#[cfg(test)] | ||
use b::{ba, bb, bc::bca::{bcaa, bcab}}; | ||
use a::ad::ada; | ||
use b; | ||
#[cfg(test)] | ||
use b::{ | ||
ba, bb, | ||
bc::bca::{bcaa, bcab}, | ||
}; | ||
|
||
pub use a::aa; | ||
use a::{ab, ac, ad}; | ||
pub use a::ae; | ||
use a::{ab, ac, ad}; | ||
use b::ba; | ||
pub use b::{bb, bc::bca}; | ||
|
||
use a::{aa::*, ab}; | ||
use b::{bb::{self, bba}, ba}; | ||
use a::ac::{acb, aca}; | ||
use a::aa::aaa; | ||
use a::ac::{aca, acb}; | ||
use a::{aa::*, ab}; | ||
use b::{ | ||
ba, | ||
bb::{self, bba}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters