mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Don't panic in Expr::needs_parens_in
This commit is contained in:
parent
7ed0871ff6
commit
babd4c7f7d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ impl Expr {
|
|||
ast::StmtList(_) => self.needs_parens_in_stmt(None),
|
||||
ast::ArgList(_) => false,
|
||||
ast::MatchArm(_) => false,
|
||||
_ => unimplemented!()
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue