diff options
| author | Andrew Cann <shum@canndrew.org> | 2016-08-02 15:56:20 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2016-08-13 21:37:09 +0800 |
| commit | fadabe08f52ce524a0cbb5af327e55db61198024 (patch) | |
| tree | 7240d1e35980a8c2eefa26741b63a174b55fc016 /src/libsyntax/print | |
| parent | f0a8b6d43f26907ac7d7abc35510878f61551fbf (diff) | |
| download | rust-fadabe08f52ce524a0cbb5af327e55db61198024.tar.gz rust-fadabe08f52ce524a0cbb5af327e55db61198024.zip | |
Rename empty/bang to never
Split Ty::is_empty method into is_never and is_uninhabited
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index a5d512f14ec..24d8198191e 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -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) => { |
