about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-05-02 15:06:24 -0400
committerIgor Matuszewski <xanewok@gmail.com>2021-05-05 12:36:22 +0200
commitdcaf74bb6cf7f4127e7476e0975c572a82a6cc2d (patch)
tree1050f5679f36361d3e42129f675c0630ae7fa4ef
parent2214a41892e86dcff8fbb85a258826d2913a2bc4 (diff)
downloadrust-dcaf74bb6cf7f4127e7476e0975c572a82a6cc2d.tar.gz
rust-dcaf74bb6cf7f4127e7476e0975c572a82a6cc2d.zip
Add `yansi-term` as a permitted dependency
-rw-r--r--src/tools/tidy/src/deps.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs
index 5a843ea61ec..b604b39967e 100644
--- a/src/tools/tidy/src/deps.rs
+++ b/src/tools/tidy/src/deps.rs
@@ -189,6 +189,8 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
     "winapi-i686-pc-windows-gnu",
     "winapi-util",
     "winapi-x86_64-pc-windows-gnu",
+    // this is a false-positive: it's only used by rustfmt, but because it's enabled through a feature, tidy thinks it's used by rustc as well.
+    "yansi-term",
 ];
 
 /// Dependency checks.