mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
review comment: Remove AST AnonTy
This commit is contained in:
parent
2791cc37e6
commit
4e3ed18e1d
@ -839,9 +839,7 @@ impl Rewrite for ast::Ty {
|
||||
})
|
||||
}
|
||||
ast::TyKind::CVarArgs => Some("...".to_owned()),
|
||||
ast::TyKind::AnonEnum(_) | ast::TyKind::Err => {
|
||||
Some(context.snippet(self.span).to_owned())
|
||||
}
|
||||
ast::TyKind::Err => Some(context.snippet(self.span).to_owned()),
|
||||
ast::TyKind::Typeof(ref anon_const) => rewrite_call(
|
||||
context,
|
||||
"typeof",
|
||||
|
Loading…
Reference in New Issue
Block a user