mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 18:12:51 +00:00
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>
This commit is contained in:
commit
339aab3774
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user