summaryrefslogtreecommitdiffstats
path: root/debian/patches/u-avoid-blessing-cargo-deps-s-source-code-in-ui-tests.patch
blob: f3a3b52c9affb8e37654b522c16a440df344f16c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From c230637b92a3101a5b18141b75f94ada2edee776 Mon Sep 17 00:00:00 2001
From: Pietro Albini <pietro.albini@ferrous-systems.com>
Date: Fri, 15 Sep 2023 16:09:45 +0200
Subject: [PATCH] avoid blessing cargo deps's source code in ui tests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

FG: just the stderr part for now, the rest needs a newer cargo
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
 tests/ui/issues/issue-21763.stderr   |  3 ---
 4 files changed, 20 insertions(+), 3 deletions(-)

Index: rust/tests/ui/issues/issue-21763.rs
===================================================================
--- rust.orig/tests/ui/issues/issue-21763.rs
+++ rust/tests/ui/issues/issue-21763.rs
@@ -1,6 +1,6 @@
 // Regression test for HashMap only impl'ing Send/Sync if its contents do
 
-// normalize-stderr-test: "\S+hashbrown-\S+" -> "$$HASHBROWN_SRC_LOCATION"
+// normalize-stderr-test: "\S+[\\/]hashbrown\S+" -> "$$HASHBROWN_SRC_LOCATION"
 
 use std::collections::HashMap;
 use std::rc::Rc;