Skip to content

Commit 1a5b9b0

Browse files
committed
./x.py fmt
1 parent 201a833 commit 1a5b9b0

File tree

1 file changed

+3
-12
lines changed
  • compiler/rustc_macros/src/symbols

1 file changed

+3
-12
lines changed

Diff for: compiler/rustc_macros/src/symbols/tests.rs

+3-12
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ fn check_dup_keywords() {
5858
}
5959
Symbols {}
6060
};
61-
test_symbols_macro(
62-
input,
63-
&["Symbol `crate` is duplicated", "location of previous definition"],
64-
);
61+
test_symbols_macro(input, &["Symbol `crate` is duplicated", "location of previous definition"]);
6562
}
6663

6764
#[test]
@@ -73,10 +70,7 @@ fn check_dup_symbol() {
7370
splat,
7471
}
7572
};
76-
test_symbols_macro(
77-
input,
78-
&["Symbol `splat` is duplicated", "location of previous definition"],
79-
);
73+
test_symbols_macro(input, &["Symbol `splat` is duplicated", "location of previous definition"]);
8074
}
8175

8276
#[test]
@@ -89,10 +83,7 @@ fn check_dup_symbol_and_keyword() {
8983
splat,
9084
}
9185
};
92-
test_symbols_macro(
93-
input,
94-
&["Symbol `splat` is duplicated", "location of previous definition"],
95-
);
86+
test_symbols_macro(input, &["Symbol `splat` is duplicated", "location of previous definition"]);
9687
}
9788

9889
#[test]

0 commit comments

Comments
 (0)