aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-12-31 22:58:04 +0000
committerAleksey Kladov <[email protected]>2020-12-31 22:58:04 +0000
commit8106893dc666a08a821cb3926a046f73b1cda32c (patch)
tree2074d3be750d4aaa4bae45b6b625ff0bbae8f6bc
parenta485c9b21dd927beee3dde5ac9ed56f61806cf55 (diff)
deny_clippy test works with cfg_attr
-rw-r--r--xtask/tests/tidy.rs2
1 files changed, 1 insertions, 1 deletions
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) {
139 return; 139 return;
140 } 140 }
141 141
142 if text.contains("[\u{61}llow(clippy") { 142 if text.contains("\u{61}llow(clippy") {
143 panic!( 143 panic!(
144 "\n\nallowing lints is forbidden: {}. 144 "\n\nallowing lints is forbidden: {}.
145rust-analyzer intentionally doesn't check clippy on CI. 145rust-analyzer intentionally doesn't check clippy on CI.