Closed
Description
I compile this snippet with Rust 1.1.0 : https://rust.godbolt.org/z/L3Ks20
pub type HANDLE = *mut ::std::ffi::c_void;
The snippet cannot be compiled. The compiler outputs:
<source>:1:24: 1:42 error: use of undeclared type name `std::ffi::c_void`
<source>:1 pub type HANDLE = *mut ::std::ffi::c_void;
^~~~~~~~~~~~~~~~~~
After searching a little bit, I know that #53910 moved std::os::raw::c_void
to the as is.
But when reading std doc, people may assume that they could use this reexport
since Rust 1.1.0.
What could we do to improve this situation?
Metadata
Metadata
Assignees
Labels
No labels