mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
deny_clippy test works with cfg_attr
This commit is contained in:
parent
a485c9b21d
commit
8106893dc6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue