]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/inference/inference-variable-behind-raw-pointer.rs
3 // tests that the following code compiles, but produces a future-compatibility warning
6 let data
= std
::ptr
::null();
7 let _
= &data
as *const *const ();
9 //~^ WARNING type annotations needed
10 //~| WARNING this was previously accepted by the compiler but is being phased out