Skip to content

Commit

Permalink
./x.py fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlie Davis committed Dec 13, 2020
1 parent 201a833 commit 1a5b9b0
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions compiler/rustc_macros/src/symbols/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand All @@ -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]
Expand Down

0 comments on commit 1a5b9b0

Please sign in to comment.