Rename empty/bang to never
Split Ty::is_empty method into is_never and is_uninhabited
This commit is contained in:
parent
f0a8b6d43f
commit
fadabe08f5
76 changed files with 161 additions and 150 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue