1
Fork 0

Add ErrorGuaranteed to HIR TyKind::Err

This commit is contained in:
Michael Goulet 2023-02-22 21:19:42 +00:00
parent dcca6a375b
commit a772a6fc2a
9 changed files with 51 additions and 45 deletions

View file

@ -358,7 +358,7 @@ impl<'a> State<'a> {
self.print_anon_const(e);
self.word(")");
}
hir::TyKind::Err => {
hir::TyKind::Err(_) => {
self.popen();
self.word("/*ERROR*/");
self.pclose();