Remove an unused diagnostic struct

this is used at `rustc_middle::error`, is duplicated here somehow
This commit is contained in:
Deadbeef 2023-12-23 15:02:03 +00:00
parent edcbcc768a
commit 69f26bf7d7

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,
}