Rollup merge of #89993 - pierwill:patch-1, r=Mark-Simulacrum

Remove dead code from `compiletest::json`

Currently getting a dead code warning on master. Might make sense to remove.
This commit is contained in:
Matthias Krüger 2021-10-18 08:13:31 +02:00 committed by GitHub
commit adde016d38
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 {