aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_proc_macro/Cargo.toml5
-rw-r--r--crates/ra_proc_macro/src/rpc.rs2
2 files changed, 3 insertions, 4 deletions
diff --git a/crates/ra_proc_macro/Cargo.toml b/crates/ra_proc_macro/Cargo.toml
index 7b4ff993f..f4a1b6d9e 100644
--- a/crates/ra_proc_macro/Cargo.toml
+++ b/crates/ra_proc_macro/Cargo.toml
@@ -10,8 +10,7 @@ doctest = false
10 10
11[dependencies] 11[dependencies]
12ra_tt = { path = "../ra_tt" } 12ra_tt = { path = "../ra_tt" }
13serde_derive = "1.0.104" 13serde = { version = "1.0", features = ["derive"] }
14serde = "1.0.104" 14serde_json = "1.0"
15serde_json = "1.0.48"
16log = "0.4.8" 15log = "0.4.8"
17crossbeam-channel = "0.4.0" 16crossbeam-channel = "0.4.0"
diff --git a/crates/ra_proc_macro/src/rpc.rs b/crates/ra_proc_macro/src/rpc.rs
index e7eaf7c15..f88d91f78 100644
--- a/crates/ra_proc_macro/src/rpc.rs
+++ b/crates/ra_proc_macro/src/rpc.rs
@@ -252,7 +252,7 @@ mod tests {
252 assert_eq!(task.macro_body, back.macro_body); 252 assert_eq!(task.macro_body, back.macro_body);
253 253
254 let result = ExpansionResult { expansion: tt.clone() }; 254 let result = ExpansionResult { expansion: tt.clone() };
255 let json = serde_json::to_string(&task).unwrap(); 255 let json = serde_json::to_string(&result).unwrap();
256 let back: ExpansionResult = serde_json::from_str(&json).unwrap(); 256 let back: ExpansionResult = serde_json::from_str(&json).unwrap();
257 257
258 assert_eq!(result, back); 258 assert_eq!(result, back);