Skip to content

Commit 3a1e414

Browse files
jyn514pietroalbini
authored andcommittedMay 5, 2021
Add yansi-term as a permitted dependency
1 parent c835a59 commit 3a1e414

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/tools/tidy/src/deps.rs

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
189189
"winapi-i686-pc-windows-gnu",
190190
"winapi-util",
191191
"winapi-x86_64-pc-windows-gnu",
192+
// 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.
193+
"yansi-term",
192194
];
193195

194196
/// Dependency checks.

0 commit comments

Comments
 (0)