about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-05-17 17:19:48 -0400
committerSmitty <me@smitop.com>2021-06-06 17:04:03 -0400
commit45c55540a821d767445f7419102b5ef8ce850481 (patch)
tree1cecb2f034ed86e05c66df9e963e434cda9bace1 /compiler/rustc_middle/src/mir
parent289ada5ed41fd1b9a3ffe2b694e6e73079528587 (diff)
downloadrust-45c55540a821d767445f7419102b5ef8ce850481.tar.gz
rust-45c55540a821d767445f7419102b5ef8ce850481.zip
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.
Diffstat (limited to 'compiler/rustc_middle/src/mir')
-rw-r--r--compiler/rustc_middle/src/mir/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/mir/mod.rs b/compiler/rustc_middle/src/mir/mod.rs
index 7ae7eab6e5a..0daaec272fd 100644
--- a/compiler/rustc_middle/src/mir/mod.rs
+++ b/compiler/rustc_middle/src/mir/mod.rs
@@ -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