diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-31 23:01:23 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-31 23:01:23 +0000 |
commit | 339aab37744e7bfcab1def72acb26b81da6408ce (patch) | |
tree | 2074d3be750d4aaa4bae45b6b625ff0bbae8f6bc /xtask | |
parent | a485c9b21dd927beee3dde5ac9ed56f61806cf55 (diff) | |
parent | 8106893dc666a08a821cb3926a046f73b1cda32c (diff) |
Merge #7112
7112: deny_clippy test works with cfg_attr r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
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. |