Skip to content

Commit

Permalink
Merge #7112
Browse files Browse the repository at this point in the history
7112: deny_clippy test works with cfg_attr r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
  • Loading branch information
bors[bot] and matklad authored Dec 31, 2020
2 parents a485c9b + 8106893 commit 339aab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtask/tests/tidy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fn deny_clippy(path: &PathBuf, text: &String) {
return;
}

if text.contains("[\u{61}llow(clippy") {
if text.contains("\u{61}llow(clippy") {
panic!(
"\n\nallowing lints is forbidden: {}.
rust-analyzer intentionally doesn't check clippy on CI.
Expand Down

0 comments on commit 339aab3

Please sign in to comment.