We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c2286 commit 2791cc3Copy full SHA for 2791cc3
src/types.rs
@@ -839,7 +839,9 @@ impl Rewrite for ast::Ty {
839
})
840
}
841
ast::TyKind::CVarArgs => Some("...".to_owned()),
842
- ast::TyKind::Err => Some(context.snippet(self.span).to_owned()),
+ ast::TyKind::AnonEnum(_) | ast::TyKind::Err => {
843
+ Some(context.snippet(self.span).to_owned())
844
+ }
845
ast::TyKind::Typeof(ref anon_const) => rewrite_call(
846
context,
847
"typeof",
0 commit comments