diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-01-07 10:24:16 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-02-03 08:18:30 +0000 |
| commit | f0308938ba39bc3377f22f7479654ba32e9c233f (patch) | |
| tree | b9205aed82163cb3aa06362d0d1ee5577cdd210c /compiler/rustc_hir_analysis/src/errors | |
| parent | 613bdd49978298648ed05ace086bd1ecad54b44a (diff) | |
| download | rust-f0308938ba39bc3377f22f7479654ba32e9c233f.tar.gz rust-f0308938ba39bc3377f22f7479654ba32e9c233f.zip | |
Use a different hir type for patterns in pattern types than we use in match patterns
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/errors/pattern_types.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors/pattern_types.rs b/compiler/rustc_hir_analysis/src/errors/pattern_types.rs index 272edbe841b..ec7b3aaa1c1 100644 --- a/compiler/rustc_hir_analysis/src/errors/pattern_types.rs +++ b/compiler/rustc_hir_analysis/src/errors/pattern_types.rs @@ -3,13 +3,6 @@ use rustc_middle::ty::Ty; use rustc_span::Span; #[derive(Diagnostic)] -#[diag(hir_analysis_pattern_type_wild_pat)] -pub(crate) struct WildPatTy { - #[primary_span] - pub span: Span, -} - -#[derive(Diagnostic)] #[diag(hir_analysis_invalid_base_type)] pub(crate) struct InvalidBaseType<'tcx> { pub ty: Ty<'tcx>, |
