From d399098fd82e0bf3ed61bbbbcdbb0b6adfa4c808 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Mon, 12 Oct 2015 15:50:12 +1300 Subject: Remove the push_unsafe! and pop_unsafe! macros. This is a [breaking change]. --- src/libsyntax/print/pprust.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/print') diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index f5f3907a4e6..d1eb5e4ff61 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1671,8 +1671,8 @@ impl<'a> State<'a> { attrs: &[ast::Attribute], close_box: bool) -> io::Result<()> { match blk.rules { - ast::UnsafeBlock(..) | ast::PushUnsafeBlock(..) => try!(self.word_space("unsafe")), - ast::DefaultBlock | ast::PopUnsafeBlock(..) => () + ast::UnsafeBlock(..) => try!(self.word_space("unsafe")), + ast::DefaultBlock => () } try!(self.maybe_print_comment(blk.span.lo)); try!(self.ann.pre(self, NodeBlock(blk))); -- cgit 1.4.1-3-g733a5