Add ErrorGuaranteed to HIR ExprKind::Err
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user