Add PatKind::Err
This commit is contained in:
parent
6ed31aba1a
commit
7889e99b55
23 changed files with 66 additions and 24 deletions
|
@ -1838,6 +1838,11 @@ impl<'a> State<'a> {
|
|||
self.commasep(Inconsistent, after, |s, p| s.print_pat(p));
|
||||
self.word("]");
|
||||
}
|
||||
PatKind::Err(_) => {
|
||||
self.popen();
|
||||
self.word("/*ERROR*/");
|
||||
self.pclose();
|
||||
}
|
||||
}
|
||||
self.ann.post(self, AnnNode::Pat(pat))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue