Skip to content

Commit

Permalink
Rollup merge of #119254 - fee1-dead-contrib:randomfix, r=compiler-errors
Browse files Browse the repository at this point in the history
Remove an unused diagnostic struct

this is used at `rustc_middle::error`, is duplicated here somehow
  • Loading branch information
matthiaskrgr authored Dec 23, 2023
2 parents 81161a6 + 69f26bf commit 63290a9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions compiler/rustc_middle/src/ty/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

0 comments on commit 63290a9

Please sign in to comment.