Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ce54aea

Browse files
committed
Added test for crate non-alphabetizing
1 parent 799005f commit ce54aea

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

tests/source/issue-3118.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
use {
2+
crate::foo::bar,
3+
bytes::{Buf, BufMut},
4+
std::io,
5+
};
6+
7+
mod foo {
8+
pub mod bar {}
9+
}
10+
11+
fn main() {}

tests/target/issue-3118.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
use {
2+
crate::foo::bar,
3+
bytes::{Buf, BufMut},
4+
std::io,
5+
};
6+
7+
mod foo {
8+
pub mod bar {}
9+
}
10+
11+
fn main() {}

0 commit comments

Comments
 (0)