Remove dead code from compiletest::json

This commit is contained in:
pierwill 2021-10-17 17:50:35 -05:00 committed by GitHub
parent 1f12ac8729
commit b87a0b06c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {