(&self, _layout: Layout)
| 49 | |
| 50 | unsafe impl GlobalAlloc for Dummy { |
| 51 | unsafe fn alloc(&self, _layout: Layout) -> *mut u8 { |
| 52 | null_mut() |
| 53 | } |
| 54 | |
| 55 | unsafe fn dealloc(&self, _ptr: *mut u8, _layout: Layout) { |
| 56 | panic!("dealloc should be never called") |
nothing calls this directly
no outgoing calls
no test coverage detected