there is no need for 3 versions of the function
null()
null_mut()
0 as *const T
0 as *mut T
See the README.md in ../librustc.