aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv
diff options
context:
space:
mode:
authorMaan2003 <[email protected]>2021-06-13 05:18:15 +0100
committerMaan2003 <[email protected]>2021-06-13 05:18:15 +0100
commit5ac6804bb3a07b959e8c2c3534255a8d6bb4948c (patch)
tree5109aa4e5ab163d687c1f7eb1de446cbd6a6cacd /crates/proc_macro_srv
parentaabd41cafc1a79f5ad124a31a360ab0442c13efd (diff)
cargo fmt
Diffstat (limited to 'crates/proc_macro_srv')
-rw-r--r--crates/proc_macro_srv/src/proc_macro/diagnostic.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/proc_macro_srv/src/proc_macro/diagnostic.rs b/crates/proc_macro_srv/src/proc_macro/diagnostic.rs
index a30818982..9ceda2a47 100644
--- a/crates/proc_macro_srv/src/proc_macro/diagnostic.rs
+++ b/crates/proc_macro_srv/src/proc_macro/diagnostic.rs
@@ -101,12 +101,7 @@ impl Diagnostic {
101 S: MultiSpan, 101 S: MultiSpan,
102 T: Into<String>, 102 T: Into<String>,
103 { 103 {
104 Diagnostic { 104 Diagnostic { level, message: message.into(), spans: spans.into_spans(), children: vec![] }
105 level,
106 message: message.into(),
107 spans: spans.into_spans(),
108 children: vec![],
109 }
110 } 105 }
111 106
112 diagnostic_child_methods!(span_error, error, Level::Error); 107 diagnostic_child_methods!(span_error, error, Level::Error);