File: quick-error-2.patch

package info (click to toggle)
rust-rusty-fork 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: makefile: 4
file content (26 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (2)
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
Index: rusty-fork/Cargo.toml
===================================================================
--- rusty-fork.orig/Cargo.toml
+++ rusty-fork/Cargo.toml
@@ -25,7 +25,7 @@ repository = "https://github.com/altsysr
 version = "1.0"
 
 [dependencies.quick-error]
-version = "1.2"
+version = "2"
 
 [dependencies.tempfile]
 version = "3.0"
Index: rusty-fork/src/error.rs
===================================================================
--- rusty-fork.orig/src/error.rs
+++ rusty-fork/src/error.rs
@@ -52,7 +52,7 @@ quick_error! {
         /// Spawning a subprocess failed.
         SpawnError(err: io::Error) {
             from()
-            cause(err)
+            source(err)
             display("Spawn failed: {}", err)
         }
     }