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

@ -494,8 +494,6 @@ impl<'tcx> Body<'tcx> {
#[derive(Copy, Clone, PartialEq, Eq, Debug, TyEncodable, TyDecodable, HashStable)]
pub enum Safety {
Safe,
/// Unsafe because of a PushUnsafeBlock
BuiltinUnsafe,
/// Unsafe because of an unsafe fn
FnUnsafe,
/// Unsafe because of an `unsafe` block