From 45d0968acf6713f950085e61322fb1b0f5cf607c Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Mon, 19 Dec 2022 10:34:36 +0100 Subject: [PATCH] json: Remove unused `explanation` field from `DiagnosticCode` It doesn't exist in the upstream Rust repo either. Signed-off-by: Michal Rostecki --- src/json.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/json.rs b/src/json.rs index 6f9e2ff..9f79127 100644 --- a/src/json.rs +++ b/src/json.rs @@ -68,8 +68,6 @@ struct DiagnosticSpanMacroExpansion { struct DiagnosticCode { /// The code itself. code: String, - /// An explanation for the code. - explanation: Option, } pub fn extract_rendered(output: &str, proc_res: &ProcRes) -> String {