blob: ff8c14793e1643d967e143e48d969b8c824965d0 [file] [log] [blame]
//@ run-rustfix
#[allow(unused_imports)]
use std::ptr;
fn expecting_null_mut(_: *mut u8) {}
fn main() {
expecting_null_mut(core::ptr::null_mut());
//~^ ERROR mismatched types
}