Skip to content

Commit 642239c

Browse files
committed
Update var name in test
1 parent 10122e4 commit 642239c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/zero_offset.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn main() {
1212
c.sub(0);
1313
c.wrapping_sub(0);
1414

15-
let y = &1 as *const i32;
16-
y.offset(0);
15+
let sized = &1 as *const i32;
16+
sized.offset(0);
1717
}
1818
}

0 commit comments

Comments
 (0)