From 2005ae1d4ea632fc592dcb260db12d098c18e040 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Tue, 7 May 2024 16:19:27 -0500 Subject: [PATCH] Silence the warning about forgetting the vendoring --- src/cargo/sources/replaced.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/sources/replaced.rs b/src/cargo/sources/replaced.rs index 72b25596384..c64257908a6 100644 --- a/src/cargo/sources/replaced.rs +++ b/src/cargo/sources/replaced.rs @@ -152,7 +152,7 @@ impl<'gctx> Source for ReplacedSource<'gctx> { } fn is_replaced(&self) -> bool { - true + !self.is_builtin_replacement() } fn add_to_yanked_whitelist(&mut self, pkgs: &[PackageId]) {