Skip to content

Commit

Permalink
json: Remove unused explanation field from DiagnosticCode
Browse files Browse the repository at this point in the history
It doesn't exist in the upstream Rust repo either.

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
  • Loading branch information
vadorovsky committed Dec 19, 2022
1 parent 6a3664b commit 45d0968
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ struct DiagnosticSpanMacroExpansion {
struct DiagnosticCode {
/// The code itself.
code: String,
/// An explanation for the code.
explanation: Option<String>,
}

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

0 comments on commit 45d0968

Please sign in to comment.