Skip to content

Commit 884f285

Browse files
committed
---
yaml --- r: 209489 b: refs/heads/try c: 4f67850 h: refs/heads/master i: 209487: 47ce95d v: v3
1 parent 66bc2b2 commit 884f285

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 0610ee490e2cc1386f300a6855c6a8a78dcba636
5+
refs/heads/try: 4f678509649a59daa17dc968b2aeb1023fb23c0f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/test/run-pass/wrapping-int-api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ fn main() {
101101
check_mul_no_wrap!(0xfedc_u16 as i16, -2);
102102
check_mul_no_wrap!(0xfedc_ba98_u32 as i32, -2);
103103
check_mul_no_wrap!(0xfedc_ba98_7654_3217_u64 as i64, -2);
104-
check_mul_no_wrap!(0xfedc_ba98_7654_3217_u64 as u64 as isize, -2);
104+
check_mul_no_wrap!(0xfedc_ba98_fedc_ba98_u64 as u64 as isize, -2);
105105

106106
check_mul_no_wrap!(0xfe_u8 as i8, 2);
107107
check_mul_no_wrap!(0xfedc_u16 as i16, 2);
108108
check_mul_no_wrap!(0xfedc_ba98_u32 as i32, 2);
109109
check_mul_no_wrap!(0xfedc_ba98_7654_3217_u64 as i64, 2);
110-
check_mul_no_wrap!(0xfedc_ba98_7654_3217_u64 as u64 as isize, 2);
110+
check_mul_no_wrap!(0xfedc_ba98_fedc_ba98_u64 as u64 as isize, 2);
111111

112112
check_mul_wraps!(0x80_u8 as i8, -1);
113113
check_mul_wraps!(0x8000_u16 as i16, -1);

0 commit comments

Comments
 (0)