1 Attempted to cast to/from a pointer with an unknown kind.
3 Erroneous code examples:
6 let b = 0 as *const _; // error
9 Must give information for type of pointer that is being cast from/to if the
10 type cannot be inferred.
13 // Creating a pointer from reference: type can be inferred
14 let a = &(String::from("Hello world!")) as *const _; // Ok
16 let b = 0 as *const i32; // Ok
18 let c: *const i32 = 0 as *const _; // Ok