Skip to content

Commit 339aab3

Browse files
bors[bot]matklad
andauthored
Merge #7112
7112: deny_clippy test works with cfg_attr r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents a485c9b + 8106893 commit 339aab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtask/tests/tidy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fn deny_clippy(path: &PathBuf, text: &String) {
139139
return;
140140
}
141141

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

0 commit comments

Comments
 (0)