From ce54aea4c8ef1552cdbc9bd1afe437bd8549327c Mon Sep 17 00:00:00 2001 From: JoshBrudnak Date: Tue, 23 Oct 2018 19:00:42 -0400 Subject: [PATCH] Added test for crate non-alphabetizing --- tests/source/issue-3118.rs | 11 +++++++++++ tests/target/issue-3118.rs | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 tests/source/issue-3118.rs create mode 100644 tests/target/issue-3118.rs diff --git a/tests/source/issue-3118.rs b/tests/source/issue-3118.rs new file mode 100644 index 00000000000..ce73a5c789c --- /dev/null +++ b/tests/source/issue-3118.rs @@ -0,0 +1,11 @@ +use { + crate::foo::bar, + bytes::{Buf, BufMut}, + std::io, +}; + +mod foo { + pub mod bar {} +} + +fn main() {} diff --git a/tests/target/issue-3118.rs b/tests/target/issue-3118.rs new file mode 100644 index 00000000000..ce73a5c789c --- /dev/null +++ b/tests/target/issue-3118.rs @@ -0,0 +1,11 @@ +use { + crate::foo::bar, + bytes::{Buf, BufMut}, + std::io, +}; + +mod foo { + pub mod bar {} +} + +fn main() {}