about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArlie Davis <ardavis@microsoft.com>2020-12-13 13:36:01 -0800
committerArlie Davis <ardavis@microsoft.com>2020-12-13 13:36:01 -0800
commit1a5b9b037e0fb8cf204e44e604ff4ad09612b8b6 (patch)
tree77f34d451d4efb57bc03b43b44dd07569186880d
parent201a833eef3c3cf8beeab0461e3ffc772b07c83e (diff)
downloadrust-1a5b9b037e0fb8cf204e44e604ff4ad09612b8b6.tar.gz
rust-1a5b9b037e0fb8cf204e44e604ff4ad09612b8b6.zip
./x.py fmt
-rw-r--r--compiler/rustc_macros/src/symbols/tests.rs15
1 files changed, 3 insertions, 12 deletions
diff --git a/compiler/rustc_macros/src/symbols/tests.rs b/compiler/rustc_macros/src/symbols/tests.rs
index 90a28b51802..82b4b876978 100644
--- a/compiler/rustc_macros/src/symbols/tests.rs
+++ b/compiler/rustc_macros/src/symbols/tests.rs
@@ -58,10 +58,7 @@ fn check_dup_keywords() {
         }
         Symbols {}
     };
-    test_symbols_macro(
-        input,
-        &["Symbol `crate` is duplicated", "location of previous definition"],
-    );
+    test_symbols_macro(input, &["Symbol `crate` is duplicated", "location of previous definition"]);
 }
 
 #[test]
@@ -73,10 +70,7 @@ fn check_dup_symbol() {
             splat,
         }
     };
-    test_symbols_macro(
-        input,
-        &["Symbol `splat` is duplicated", "location of previous definition"],
-    );
+    test_symbols_macro(input, &["Symbol `splat` is duplicated", "location of previous definition"]);
 }
 
 #[test]
@@ -89,10 +83,7 @@ fn check_dup_symbol_and_keyword() {
             splat,
         }
     };
-    test_symbols_macro(
-        input,
-        &["Symbol `splat` is duplicated", "location of previous definition"],
-    );
+    test_symbols_macro(input, &["Symbol `splat` is duplicated", "location of previous definition"]);
 }
 
 #[test]