1
Fork 0

Remove some last remants of {push,pop}_unsafe!

These macros have already been removed, but there was still some code
handling these macros. That code is now removed.
This commit is contained in:
Smitty 2021-05-17 17:19:48 -04:00
parent 289ada5ed4
commit 45c55540a8
10 changed files with 13 additions and 54 deletions

View file

@ -1070,8 +1070,6 @@ impl<'a> State<'a> {
) {
match blk.rules {
hir::BlockCheckMode::UnsafeBlock(..) => self.word_space("unsafe"),
hir::BlockCheckMode::PushUnsafeBlock(..) => self.word_space("push_unsafe"),
hir::BlockCheckMode::PopUnsafeBlock(..) => self.word_space("pop_unsafe"),
hir::BlockCheckMode::DefaultBlock => (),
}
self.maybe_print_comment(blk.span.lo());