Rollup merge of #119254 - fee1-dead-contrib:randomfix, r=compiler-errors

Remove an unused diagnostic struct

this is used at `rustc_middle::error`, is duplicated here somehow
This commit is contained in:
Matthias Krüger 2023-12-23 20:02:29 +01:00 committed by GitHub
commit 63290a90d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -628,11 +628,3 @@ impl<'tcx> FallibleTypeFolder<TyCtxt<'tcx>> for MakeSuggestableFolder<'tcx> {
c.try_super_fold_with(self)
}
}
#[derive(Diagnostic)]
#[diag(middle_const_not_used_in_type_alias)]
pub(super) struct ConstNotUsedTraitAlias {
pub ct: String,
#[primary_span]
pub span: Span,
}