From 8106893dc666a08a821cb3926a046f73b1cda32c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 1 Jan 2021 01:58:04 +0300 Subject: deny_clippy test works with cfg_attr --- xtask/tests/tidy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/tests/tidy.rs b/xtask/tests/tidy.rs index 6bfa922e6..d1ffb70ad 100644 --- a/xtask/tests/tidy.rs +++ b/xtask/tests/tidy.rs @@ -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. -- cgit v1.2.3