| #![feature(rustc_private)] |
| #![deny(rust_2018_idioms)] |
| #![deny(unused_lifetimes)] |
| pub static ALLOCATOR_METHODS: &[AllocatorMethod] = &[ |
| inputs: &[AllocatorTy::Layout], |
| output: AllocatorTy::ResultPtr, |
| inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout], |
| output: AllocatorTy::Unit, |
| inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout, AllocatorTy::Usize], |
| output: AllocatorTy::ResultPtr, |
| inputs: &[AllocatorTy::Layout], |
| output: AllocatorTy::ResultPtr, |
| pub struct AllocatorMethod { |
| pub inputs: &'static [AllocatorTy], |