File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use runtest::ProcRes;
17
17
// These structs are a subset of the ones found in
18
18
// `syntax::json`.
19
19
20
- #[ derive( Serialize , Deserialize ) ]
20
+ #[ derive( Deserialize ) ]
21
21
struct Diagnostic {
22
22
message : String ,
23
23
code : Option < DiagnosticCode > ,
@@ -27,7 +27,7 @@ struct Diagnostic {
27
27
rendered : Option < String > ,
28
28
}
29
29
30
- #[ derive( Serialize , Deserialize , Clone ) ]
30
+ #[ derive( Deserialize , Clone ) ]
31
31
struct DiagnosticSpan {
32
32
file_name : String ,
33
33
line_start : usize ,
@@ -40,7 +40,7 @@ struct DiagnosticSpan {
40
40
expansion : Option < Box < DiagnosticSpanMacroExpansion > > ,
41
41
}
42
42
43
- #[ derive( Serialize , Deserialize , Clone ) ]
43
+ #[ derive( Deserialize , Clone ) ]
44
44
struct DiagnosticSpanMacroExpansion {
45
45
/// span where macro was applied to generate this code
46
46
span : DiagnosticSpan ,
@@ -49,7 +49,7 @@ struct DiagnosticSpanMacroExpansion {
49
49
macro_decl_name : String ,
50
50
}
51
51
52
- #[ derive( Serialize , Deserialize , Clone ) ]
52
+ #[ derive( Deserialize , Clone ) ]
53
53
struct DiagnosticCode {
54
54
/// The code itself.
55
55
code : String ,
You can’t perform that action at this time.
0 commit comments