From acbf08c81b2f9ab2516a9f1f81ce647c063b28ed Mon Sep 17 00:00:00 2001 From: Wafarm Date: Sat, 21 Sep 2024 14:31:24 +0800 Subject: [PATCH] Add test for use self --- tests/source/issue-6277/three.rs | 5 +++++ tests/target/issue-6277/three.rs | 1 + 2 files changed, 6 insertions(+) create mode 100644 tests/source/issue-6277/three.rs create mode 100644 tests/target/issue-6277/three.rs diff --git a/tests/source/issue-6277/three.rs b/tests/source/issue-6277/three.rs new file mode 100644 index 00000000000..98e72bc9ddc --- /dev/null +++ b/tests/source/issue-6277/three.rs @@ -0,0 +1,5 @@ +use core::{ + self, + + fmt::{}, +}; diff --git a/tests/target/issue-6277/three.rs b/tests/target/issue-6277/three.rs new file mode 100644 index 00000000000..3639ce6653d --- /dev/null +++ b/tests/target/issue-6277/three.rs @@ -0,0 +1 @@ +use core::{self};