Package: cargo / 0.47.0-3

1005_relax_deprecated_diagnostic_message_check.patch Patch series | download
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
27
28
29
30
Description: relax deprecated diagnostic message check
 Applied patch from upstream commit 537a0202679b

Origin: upstream, https://github.com/rust-lang/cargo/commit/537a0202679b9ccd2a951d2695a2ad7b18b16415

--- cargo-0.43.1.orig/tests/testsuite/fix.rs
+++ cargo-0.43.1/tests/testsuite/fix.rs
@@ -689,7 +689,7 @@ fn shows_warnings() {
         .build();
 
     p.cargo("fix --allow-no-vcs")
-        .with_stderr_contains("[..]warning: use of deprecated item[..]")
+        .with_stderr_contains("[..]warning: use of deprecated[..]")
         .run();
 }
 
@@ -935,11 +935,11 @@ fn shows_warnings_on_second_run_without_
         .build();
 
     p.cargo("fix --allow-no-vcs")
-        .with_stderr_contains("[..]warning: use of deprecated item[..]")
+        .with_stderr_contains("[..]warning: use of deprecated[..]")
         .run();
 
     p.cargo("fix --allow-no-vcs")
-        .with_stderr_contains("[..]warning: use of deprecated item[..]")
+        .with_stderr_contains("[..]warning: use of deprecated[..]")
         .run();
 }