Skip to content

Commit 45d0968

Browse files
committed
json: Remove unused explanation field from DiagnosticCode
It doesn't exist in the upstream Rust repo either. Signed-off-by: Michal Rostecki <[email protected]>
1 parent 6a3664b commit 45d0968

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/json.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ struct DiagnosticSpanMacroExpansion {
6868
struct DiagnosticCode {
6969
/// The code itself.
7070
code: String,
71-
/// An explanation for the code.
72-
explanation: Option<String>,
7371
}
7472

7573
pub fn extract_rendered(output: &str, proc_res: &ProcRes) -> String {

0 commit comments

Comments
 (0)