diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2023-12-23 15:02:03 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2023-12-23 15:02:03 +0000 |
| commit | 69f26bf7d7a4e55120a662eeb1de253e24865d2a (patch) | |
| tree | f2e2b861f4124383b37e55a6d674fbe586e1fa74 | |
| parent | edcbcc768a484d52deb315e7c583fe4b2ab4f25b (diff) | |
| download | rust-69f26bf7d7a4e55120a662eeb1de253e24865d2a.tar.gz rust-69f26bf7d7a4e55120a662eeb1de253e24865d2a.zip | |
Remove an unused diagnostic struct
this is used at `rustc_middle::error`, is duplicated here somehow
| -rw-r--r-- | compiler/rustc_middle/src/ty/diagnostics.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_middle/src/ty/diagnostics.rs b/compiler/rustc_middle/src/ty/diagnostics.rs index 0094825fc70..c1e2479defd 100644 --- a/compiler/rustc_middle/src/ty/diagnostics.rs +++ b/compiler/rustc_middle/src/ty/diagnostics.rs @@ -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, -} |
