about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2021-07-30 23:43:04 -0400
committerJason Newcomb <jsnewcomb@pm.me>2021-07-30 23:43:04 -0400
commitfc387b877a4e81ccb47211b70af42ca5062b25b3 (patch)
tree4fb43428bf11566d9d0f524572d51990e9d90154
parentf6a5889ffad5f819b80f07b40988ba2576f79296 (diff)
downloadrust-fc387b877a4e81ccb47211b70af42ca5062b25b3.tar.gz
rust-fc387b877a4e81ccb47211b70af42ca5062b25b3.zip
Workaround rust-lang/rustfmt#4477 - relative paths in `path` attribute
-rw-r--r--tests/ui/auxiliary/test_macro.rs (renamed from tests/auxiliary/test_macro.rs)0
-rw-r--r--tests/ui/implicit_hasher.rs2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/auxiliary/test_macro.rs b/tests/ui/auxiliary/test_macro.rs
index 624ca892add..624ca892add 100644
--- a/tests/auxiliary/test_macro.rs
+++ b/tests/ui/auxiliary/test_macro.rs
diff --git a/tests/ui/implicit_hasher.rs b/tests/ui/implicit_hasher.rs
index fdcc9a33f55..97c26bc83ad 100644
--- a/tests/ui/implicit_hasher.rs
+++ b/tests/ui/implicit_hasher.rs
@@ -89,7 +89,7 @@ gen!(fn bar);
 // and should not cause an ICE
 // See #2707
 #[macro_use]
-#[path = "../auxiliary/test_macro.rs"]
+#[path = "auxiliary/test_macro.rs"]
 pub mod test_macro;
 __implicit_hasher_test_macro!(impl<K, V> for HashMap<K, V> where V: test_macro::A);