We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 430a9fd commit 05a8142Copy full SHA for 05a8142
src/libstd/rand/os.rs
@@ -205,9 +205,7 @@ mod imp {
205
_dummy: (),
206
}
207
208
- // Fake definition; this is actually a struct, but we don't use the
209
- // contents here.
210
- type SecRandom = c_void;
+ enum SecRandom {}
211
212
#[allow(non_upper_case_globals)]
213
const kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
src/libstd/rt/unwind/seh64_gnu.rs
@@ -60,8 +60,8 @@ pub struct EXCEPTION_RECORD {
60
ExceptionInformation: [ULONG_PTR; 15],
61
62
63
-pub type CONTEXT = c_void;
64
-pub type UNWIND_HISTORY_TABLE = c_void;
+pub enum CONTEXT {}
+pub enum UNWIND_HISTORY_TABLE {}
65
66
#[repr(C)]
67
pub struct RUNTIME_FUNCTION {
0 commit comments