Skip to content

Commit 74b6839

Browse files
committed
Change *mut LargeStruct to &mut .. in large_callee
1 parent 280672e commit 74b6839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/assembly-llvm/reg-struct-return.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ mod Large {
130130
}
131131

132132
#[unsafe(no_mangle)]
133-
pub unsafe extern "C" fn large_caller(dst: *mut LargeStruct) {
133+
pub unsafe extern "C" fn large_caller(dst: &mut LargeStruct) {
134134
// CHECK-LABEL: large_caller
135135
// CHECK: calll large
136136
// CHECK: subl $4, %esp

0 commit comments

Comments
 (0)