about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-06-20 23:13:11 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2025-07-18 12:25:24 +0200
commit82a02aefe07092c737c852daccebf49ca25507e3 (patch)
tree4a601b3cc7bd1318f720740fc77b339b862c9103 /compiler/rustc_hir_analysis/src/errors.rs
parentcdc3d701cb4ff37e9d0c96c1c68b2e8789c19441 (diff)
downloadrust-82a02aefe07092c737c852daccebf49ca25507e3.tar.gz
rust-82a02aefe07092c737c852daccebf49ca25507e3.zip
HIR ty lowering: Validate `PointeeSized` bounds
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/errors.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs
index 3283ce95ee0..5e75a42e824 100644
--- a/compiler/rustc_hir_analysis/src/errors.rs
+++ b/compiler/rustc_hir_analysis/src/errors.rs
@@ -312,13 +312,6 @@ pub(crate) struct TraitObjectDeclaredWithNoTraits {
 }
 
 #[derive(Diagnostic)]
-#[diag(hir_analysis_pointee_sized_trait_object)]
-pub(crate) struct PointeeSizedTraitObject {
-    #[primary_span]
-    pub span: Span,
-}
-
-#[derive(Diagnostic)]
 #[diag(hir_analysis_ambiguous_lifetime_bound, code = E0227)]
 pub(crate) struct AmbiguousLifetimeBound {
     #[primary_span]