aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-13 12:56:15 +0100
committerGitHub <[email protected]>2021-06-13 12:56:15 +0100
commit3f53a5dd724cbc7aa20280cddba44c7d2c0c8a6d (patch)
tree3fd67414030c11e80b3aaac6096a8dcce4fe00d0 /xtask
parentbe9742809c80fbb86b1a25479a4cf2a0df24adb7 (diff)
parentefa069d28818dd074afd2c7cee776907b63ca012 (diff)
Merge #9245
9245: internal: start new diagnostics API r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/tidy.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/xtask/src/tidy.rs b/xtask/src/tidy.rs
index e6fa5868d..f2ba8efef 100644
--- a/xtask/src/tidy.rs
+++ b/xtask/src/tidy.rs
@@ -372,7 +372,10 @@ impl TidyDocs {
372 self.contains_fixme.push(path.to_path_buf()); 372 self.contains_fixme.push(path.to_path_buf());
373 } 373 }
374 } else { 374 } else {
375 if text.contains("// Feature:") || text.contains("// Assist:") { 375 if text.contains("// Feature:")
376 || text.contains("// Assist:")
377 || text.contains("// Diagnostic:")
378 {
376 return; 379 return;
377 } 380 }
378 self.missing_docs.push(path.display().to_string()); 381 self.missing_docs.push(path.display().to_string());