diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-08-02 21:41:06 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-08-27 18:46:51 -0700 |
| commit | 5c3504799deb78d986f8267f753a87fb9e73a452 (patch) | |
| tree | 20e9de7215edf2c27d59251b15afbd3c1d2b7e77 /src/libsyntax/print/pprust.rs | |
| parent | 58d6eb50483c44ecc72db6d77b71ad5d5a7aca4d (diff) | |
| download | rust-5c3504799deb78d986f8267f753a87fb9e73a452.tar.gz rust-5c3504799deb78d986f8267f753a87fb9e73a452.zip | |
librustc: Remove `&const` and `*const` from the language.
They are still present as part of the borrow check.
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 3bad1ed9384..ee9b2f4760d 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -386,7 +386,6 @@ pub fn print_type(s: @ps, ty: &ast::Ty) { word(s.s, "["); match mt.mutbl { ast::m_mutbl => word_space(s, "mut"), - ast::m_const => word_space(s, "const"), ast::m_imm => () } print_type(s, mt.ty); @@ -429,7 +428,6 @@ pub fn print_type(s: @ps, ty: &ast::Ty) { word(s.s, "["); match mt.mutbl { ast::m_mutbl => word_space(s, "mut"), - ast::m_const => word_space(s, "const"), ast::m_imm => () } print_type(s, mt.ty); @@ -1882,7 +1880,6 @@ pub fn print_view_item(s: @ps, item: &ast::view_item) { pub fn print_mutability(s: @ps, mutbl: ast::mutability) { match mutbl { ast::m_mutbl => word_nbsp(s, "mut"), - ast::m_const => word_nbsp(s, "const"), ast::m_imm => {/* nothing */ } } } |
