aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_api/src/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/proc_macro_api/src/process.rs')
-rw-r--r--crates/proc_macro_api/src/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/proc_macro_api/src/process.rs b/crates/proc_macro_api/src/process.rs
index 99d05aef3..a9e43be62 100644
--- a/crates/proc_macro_api/src/process.rs
+++ b/crates/proc_macro_api/src/process.rs
@@ -77,7 +77,7 @@ impl ProcMacroProcessSrv {
77 77
78 match res { 78 match res {
79 Some(Response::Error(err)) => { 79 Some(Response::Error(err)) => {
80 return Err(tt::ExpansionError::ExpansionError(err.message)); 80 Err(tt::ExpansionError::ExpansionError(err.message))
81 } 81 }
82 Some(res) => Ok(res.try_into().map_err(|err| { 82 Some(res) => Ok(res.try_into().map_err(|err| {
83 tt::ExpansionError::Unknown(format!("Fail to get response, reason : {:#?} ", err)) 83 tt::ExpansionError::Unknown(format!("Fail to get response, reason : {:#?} ", err))