Rename empty/bang to never

Split Ty::is_empty method into is_never and is_uninhabited
This commit is contained in:
Andrew Cann 2016-08-02 15:56:20 +08:00
parent f0a8b6d43f
commit fadabe08f5
76 changed files with 161 additions and 150 deletions

View file

@ -1396,7 +1396,7 @@ impl<'a> Parser<'a> {
TyKind::Tup(ts)
}
} else if self.eat(&token::Not) {
TyKind::Empty
TyKind::Never
} else if self.check(&token::BinOp(token::Star)) {
// STAR POINTER (bare pointer?)
self.bump();