Skip to content

Commit 69f26bf

Browse files
committed
Remove an unused diagnostic struct
this is used at `rustc_middle::error`, is duplicated here somehow
1 parent edcbcc7 commit 69f26bf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

compiler/rustc_middle/src/ty/diagnostics.rs

-8
Original file line numberDiff line numberDiff line change
@@ -628,11 +628,3 @@ impl<'tcx> FallibleTypeFolder<TyCtxt<'tcx>> for MakeSuggestableFolder<'tcx> {
628628
c.try_super_fold_with(self)
629629
}
630630
}
631-
632-
#[derive(Diagnostic)]
633-
#[diag(middle_const_not_used_in_type_alias)]
634-
pub(super) struct ConstNotUsedTraitAlias {
635-
pub ct: String,
636-
#[primary_span]
637-
pub span: Span,
638-
}

0 commit comments

Comments
 (0)