From b87a0b06c75808a7ff99177db8000bb4a9161d8e Mon Sep 17 00:00:00 2001 From: pierwill <19642016+pierwill@users.noreply.github.com> Date: Sun, 17 Oct 2021 17:50:35 -0500 Subject: [PATCH] Remove dead code from `compiletest::json` --- src/tools/compiletest/src/json.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tools/compiletest/src/json.rs b/src/tools/compiletest/src/json.rs index dc6d67983c5d2..a5ff779a4abfb 100644 --- a/src/tools/compiletest/src/json.rs +++ b/src/tools/compiletest/src/json.rs @@ -74,8 +74,6 @@ struct DiagnosticSpanMacroExpansion { struct DiagnosticCode { /// The code itself. code: String, - /// An explanation for the code. - explanation: Option, } pub fn rustfix_diagnostics_only(output: &str) -> String {