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

@@ -976,7 +976,7 @@ impl<'a> State<'a> {
try!(self.print_opt_lifetime(lifetime));
try!(self.print_mt(mt));
}
ast::TyKind::Empty => {
ast::TyKind::Never => {
word(&mut self.s, "!")?;
},
ast::TyKind::Tup(ref elts) => {