From 751d0367c2de63903897570f03c9dc1a4d5eb52a Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 10 Aug 2020 00:35:42 +0700 Subject: fix tidy check --- xtask/tests/tidy.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xtask/tests') diff --git a/xtask/tests/tidy.rs b/xtask/tests/tidy.rs index d65a2acbc..15a93b7a2 100644 --- a/xtask/tests/tidy.rs +++ b/xtask/tests/tidy.rs @@ -97,6 +97,8 @@ fn check_todo(path: &Path, text: &str) { // To support generating `todo!()` in assists, we have `expr_todo()` in // `ast::make`. "ast/make.rs", + // The documentation in string literals may contain anything for its own purposes + "/completion/unstable_feature_descriptor.rs" ]; if need_todo.iter().any(|p| path.ends_with(p)) { return; -- cgit v1.2.3 From 8366e3a7d59605ea2d0e681d73e8d5b48bf48e17 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 10 Aug 2020 00:39:49 +0700 Subject: refactoring to show more clearly the import problems --- xtask/tests/tidy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/tests') diff --git a/xtask/tests/tidy.rs b/xtask/tests/tidy.rs index 15a93b7a2..68a70da9e 100644 --- a/xtask/tests/tidy.rs +++ b/xtask/tests/tidy.rs @@ -98,7 +98,7 @@ fn check_todo(path: &Path, text: &str) { // `ast::make`. "ast/make.rs", // The documentation in string literals may contain anything for its own purposes - "/completion/unstable_feature_descriptor.rs" + "completion/unstable_feature_descriptor.rs", ]; if need_todo.iter().any(|p| path.ends_with(p)) { return; -- cgit v1.2.3