Parse !
as TyEmpty (except in fn return type)
This commit is contained in:
parent
ba7330c1cc
commit
b0a9acd783
@ -1399,6 +1399,8 @@ impl<'a> Parser<'a> {
|
||||
} else {
|
||||
TyKind::Tup(ts)
|
||||
}
|
||||
} else if self.eat(&token::Not) {
|
||||
TyKind::Empty
|
||||
} else if self.check(&token::BinOp(token::Star)) {
|
||||
// STAR POINTER (bare pointer?)
|
||||
self.bump();
|
||||
|
Loading…
x
Reference in New Issue
Block a user