mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Prepare tidy.rs
This commit is contained in:
parent
b7cdd93f3e
commit
d4b668a3bb
1 changed files with 2 additions and 0 deletions
|
@ -257,6 +257,8 @@ fn check_dbg(path: &Path, text: &str) {
|
||||||
"ide-db/src/generated/lints.rs",
|
"ide-db/src/generated/lints.rs",
|
||||||
// test for doc test for remove_dbg
|
// test for doc test for remove_dbg
|
||||||
"src/tests/generated.rs",
|
"src/tests/generated.rs",
|
||||||
|
// `expect!` string can contain `dbg!` (due to .dbg postfix)
|
||||||
|
"ide-completion/src/tests/special.rs",
|
||||||
];
|
];
|
||||||
if need_dbg.iter().any(|p| path.ends_with(p)) {
|
if need_dbg.iter().any(|p| path.ends_with(p)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue