mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Refactor hir::diagnostics::MissingMatchArms fields, better naming
This commit is contained in:
parent
8f189f62c6
commit
5e8c586f3b
3 changed files with 7 additions and 8 deletions
|
@ -199,8 +199,7 @@ pub struct MismatchedArgCount {
|
|||
|
||||
#[derive(Debug)]
|
||||
pub struct MissingMatchArms {
|
||||
pub file: HirFileId,
|
||||
pub match_expr: AstPtr<ast::Expr>,
|
||||
pub scrutinee_expr: InFile<AstPtr<ast::Expr>>,
|
||||
pub uncovered_patterns: String,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue