diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-07-04 12:20:51 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-07-04 12:20:51 +0000 |
| commit | 0d54fe0d02f24923cc82bbdae786471bfa79d70c (patch) | |
| tree | 76932fd58657deaa1ab3fc600d6e4de5ae6e6e0c /compiler/rustc_hir_analysis/src/errors.rs | |
| parent | 486bc278ab4cf516ccc176cee4a268e104b6e69c (diff) | |
| download | rust-0d54fe0d02f24923cc82bbdae786471bfa79d70c.tar.gz rust-0d54fe0d02f24923cc82bbdae786471bfa79d70c.zip | |
Remove a use of `StructuredDiag`, which is incompatible with automatic error tainting and error translations
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/errors.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs index 3ffb51fa992..79e948ae7d9 100644 --- a/compiler/rustc_hir_analysis/src/errors.rs +++ b/compiler/rustc_hir_analysis/src/errors.rs @@ -708,15 +708,6 @@ pub(crate) struct PassToVariadicFunction<'tcx, 'a> { } #[derive(Diagnostic)] -#[diag(hir_analysis_cast_thin_pointer_to_fat_pointer, code = E0607)] -pub(crate) struct CastThinPointerToFatPointer<'tcx> { - #[primary_span] - pub span: Span, - pub expr_ty: Ty<'tcx>, - pub cast_ty: String, -} - -#[derive(Diagnostic)] #[diag(hir_analysis_invalid_union_field, code = E0740)] pub(crate) struct InvalidUnionField { #[primary_span] |
