File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,15 @@ pub mod structs {
7
7
8
8
#[ derive( Error , Debug ) ]
9
9
#[ error( "..." ) ]
10
+ #[ allow( dead_code) ]
10
11
pub struct OptSourceNoBacktrace {
11
12
#[ source]
12
13
source : Option < anyhow:: Error > ,
13
14
}
14
15
15
16
#[ derive( Error , Debug ) ]
16
17
#[ error( "..." ) ]
18
+ #[ allow( dead_code) ]
17
19
pub struct OptSourceAlwaysBacktrace {
18
20
#[ source]
19
21
source : Option < anyhow:: Error > ,
@@ -22,13 +24,15 @@ pub mod structs {
22
24
23
25
#[ derive( Error , Debug ) ]
24
26
#[ error( "..." ) ]
27
+ #[ allow( dead_code) ]
25
28
pub struct NoSourceOptBacktrace {
26
29
#[ backtrace]
27
30
backtrace : Option < Backtrace > ,
28
31
}
29
32
30
33
#[ derive( Error , Debug ) ]
31
34
#[ error( "..." ) ]
35
+ #[ allow( dead_code) ]
32
36
pub struct AlwaysSourceOptBacktrace {
33
37
source : anyhow:: Error ,
34
38
#[ backtrace]
@@ -37,6 +41,7 @@ pub mod structs {
37
41
38
42
#[ derive( Error , Debug ) ]
39
43
#[ error( "..." ) ]
44
+ #[ allow( dead_code) ]
40
45
pub struct OptSourceOptBacktrace {
41
46
#[ source]
42
47
source : Option < anyhow:: Error > ,
You can’t perform that action at this time.
0 commit comments