Skip to content

Commit

Permalink
Merge pull request #260 from vadorovsky/remove-unused-field
Browse files Browse the repository at this point in the history
json: Remove unused `explanation` field from `DiagnosticCode`
  • Loading branch information
Manishearth committed Dec 19, 2022
2 parents 6a3664b + 45d0968 commit 655228a
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 655228a

Please sign in to comment.