summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0607.rs
blob: 65001c471cb4bc9b92f9fda773dd0a10b575c4ed (plain)
1
2
3
4
fn main() {
    let v = core::ptr::null::<u8>();
    v as *const [u8]; //~ ERROR E0607
}