We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fe2c4b commit 5dd5244Copy full SHA for 5dd5244
library/core/tests/ptr.rs
@@ -19,6 +19,7 @@ fn test_const_from_raw_parts() {
19
#[test]
20
fn test() {
21
unsafe {
22
+ #[repr(C)]
23
struct Pair {
24
fst: isize,
25
snd: isize,
0 commit comments