Start handling pattern types at the HIR -> Ty conversion boundary
This commit is contained in:
parent
c4efc25bfa
commit
1d6cd8daf0
6 changed files with 36 additions and 7 deletions
9
compiler/rustc_hir_analysis/src/errors/pattern_types.rs
Normal file
9
compiler/rustc_hir_analysis/src/errors/pattern_types.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
use rustc_macros::Diagnostic;
|
||||
use rustc_span::Span;
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(hir_analysis_pattern_type_wild_pat)]
|
||||
pub struct WildPatTy {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue