about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-02-05 15:22:10 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-03-06 10:47:40 +0000
commite8f7a382be12a812b7d73f58967f740a0cf9d9af (patch)
tree81db85c4e7c42a85898967fe3b8601f9377d15e7 /compiler/rustc_hir_analysis/src/errors
parent0e7b2835735fc7fee08505fa6c14670bc7ee7601 (diff)
downloadrust-e8f7a382be12a812b7d73f58967f740a0cf9d9af.tar.gz
rust-e8f7a382be12a812b7d73f58967f740a0cf9d9af.zip
Remove the `Option` part of range ends in the HIR
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors')
-rw-r--r--compiler/rustc_hir_analysis/src/errors/pattern_types.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors/pattern_types.rs b/compiler/rustc_hir_analysis/src/errors/pattern_types.rs
deleted file mode 100644
index ec7b3aaa1c1..00000000000
--- a/compiler/rustc_hir_analysis/src/errors/pattern_types.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-use rustc_macros::Diagnostic;
-use rustc_middle::ty::Ty;
-use rustc_span::Span;
-
-#[derive(Diagnostic)]
-#[diag(hir_analysis_invalid_base_type)]
-pub(crate) struct InvalidBaseType<'tcx> {
-    pub ty: Ty<'tcx>,
-    #[primary_span]
-    pub ty_span: Span,
-    pub pat: &'static str,
-    #[note]
-    pub pat_span: Span,
-}