I’ve started trying to get a handle on rust, but the first project I tried building after installing rustup gives me a type mistmatch error in my device.rs file located inside the .cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.14.1/src/dx11 folder. Can anyone help me with this? It seems like a problem with the base packages, and if so, how do I fix this? This makes me want to avoid rust altogether.
I built a project, and I got this error:
mismatched types
std::ffi::c_void
and winapi::ctypes::c_void
have similar names, but are actually distinct types
Jason Dookeran is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3