Add ErrorGuaranteed to HIR ExprKind::Err
This commit is contained in:
parent
a772a6fc2a
commit
c0e58c3420
14 changed files with 50 additions and 33 deletions
|
@ -1559,7 +1559,7 @@ impl<'a> State<'a> {
|
|||
self.word_space("yield");
|
||||
self.print_expr_maybe_paren(expr, parser::PREC_JUMP);
|
||||
}
|
||||
hir::ExprKind::Err => {
|
||||
hir::ExprKind::Err(_) => {
|
||||
self.popen();
|
||||
self.word("/*ERROR*/");
|
||||
self.pclose();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue