Skip to content

Commit

Permalink
Rollup merge of #89993 - pierwill:patch-1, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Remove dead code from `compiletest::json`

Currently getting a dead code warning on master. Might make sense to remove.
  • Loading branch information
matthiaskrgr committed Oct 18, 2021
2 parents 2fd765c + b87a0b0 commit adde016
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tools/compiletest/src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ struct DiagnosticSpanMacroExpansion {
struct DiagnosticCode {
/// The code itself.
code: String,
/// An explanation for the code.
explanation: Option<String>,
}

pub fn rustfix_diagnostics_only(output: &str) -> String {
Expand Down

0 comments on commit adde016

Please sign in to comment.