diff options
author | Aleksey Kladov <[email protected]> | 2020-12-31 22:58:04 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-31 22:58:04 +0000 |
commit | 8106893dc666a08a821cb3926a046f73b1cda32c (patch) | |
tree | 2074d3be750d4aaa4bae45b6b625ff0bbae8f6bc /xtask | |
parent | a485c9b21dd927beee3dde5ac9ed56f61806cf55 (diff) |
deny_clippy test works with cfg_attr
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/tests/tidy.rs | 2 |
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: {}. |
145 | rust-analyzer intentionally doesn't check clippy on CI. | 145 | rust-analyzer intentionally doesn't check clippy on CI. |