aboutsummaryrefslogtreecommitdiff
path: root/xtask/tests/tidy.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-02-17 14:53:31 +0000
committerAleksey Kladov <[email protected]>2021-02-17 14:53:31 +0000
commit3db64a400c78bbd2708e67ddc07df1001fff3f29 (patch)
tree5386aab9c452981be09bc3e4362643a34e6e3617 /xtask/tests/tidy.rs
parent6334ce866ab095215381c4b72692b20a84d26e96 (diff)
rename completion -> ide_completion
We don't have completion-related PRs in flight, so lets do it
Diffstat (limited to 'xtask/tests/tidy.rs')
-rw-r--r--xtask/tests/tidy.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/xtask/tests/tidy.rs b/xtask/tests/tidy.rs
index cb83e07fd..909c52afa 100644
--- a/xtask/tests/tidy.rs
+++ b/xtask/tests/tidy.rs
@@ -172,7 +172,7 @@ https://github.blog/2015-06-08-how-to-undo-almost-anything-with-git/#redo-after-
172fn deny_clippy(path: &PathBuf, text: &String) { 172fn deny_clippy(path: &PathBuf, text: &String) {
173 let ignore = &[ 173 let ignore = &[
174 // The documentation in string literals may contain anything for its own purposes 174 // The documentation in string literals may contain anything for its own purposes
175 "completion/src/generated_lint_completions.rs", 175 "ide_completion/src/generated_lint_completions.rs",
176 ]; 176 ];
177 if ignore.iter().any(|p| path.ends_with(p)) { 177 if ignore.iter().any(|p| path.ends_with(p)) {
178 return; 178 return;
@@ -259,7 +259,7 @@ fn check_todo(path: &Path, text: &str) {
259 // `ast::make`. 259 // `ast::make`.
260 "ast/make.rs", 260 "ast/make.rs",
261 // The documentation in string literals may contain anything for its own purposes 261 // The documentation in string literals may contain anything for its own purposes
262 "completion/src/generated_lint_completions.rs", 262 "ide_completion/src/generated_lint_completions.rs",
263 ]; 263 ];
264 if need_todo.iter().any(|p| path.ends_with(p)) { 264 if need_todo.iter().any(|p| path.ends_with(p)) {
265 return; 265 return;
@@ -286,10 +286,10 @@ fn check_dbg(path: &Path, text: &str) {
286 // Assists to remove `dbg!()` 286 // Assists to remove `dbg!()`
287 "handlers/remove_dbg.rs", 287 "handlers/remove_dbg.rs",
288 // We have .dbg postfix 288 // We have .dbg postfix
289 "completion/src/completions/postfix.rs", 289 "ide_completion/src/completions/postfix.rs",
290 // The documentation in string literals may contain anything for its own purposes 290 // The documentation in string literals may contain anything for its own purposes
291 "completion/src/lib.rs", 291 "ide_completion/src/lib.rs",
292 "completion/src/generated_lint_completions.rs", 292 "ide_completion/src/generated_lint_completions.rs",
293 // test for doc test for remove_dbg 293 // test for doc test for remove_dbg
294 "src/tests/generated.rs", 294 "src/tests/generated.rs",
295 ]; 295 ];