]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_allocator/lib.rs
Remove unused AllocatorTy::Bang
[rust.git] / src / librustc_allocator / lib.rs
index 706eab72d44cc8af296a9fec233d3bf5babeb347..969086815ded4777c3cc6939d9e3be4fc58be6b0 100644 (file)
         inputs: &[AllocatorTy::Layout],
         output: AllocatorTy::ResultPtr,
     },
-    AllocatorMethod {
-        name: "oom",
-        inputs: &[],
-        output: AllocatorTy::Bang,
-    },
     AllocatorMethod {
         name: "dealloc",
         inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout],
@@ -52,7 +47,6 @@ pub struct AllocatorMethod {
 }
 
 pub enum AllocatorTy {
-    Bang,
     Layout,
     Ptr,
     ResultPtr,