Skip to content

Commit dc2ec06

Browse files
committed
---
yaml --- r: 196086 b: refs/heads/beta c: c8bf5f5 h: refs/heads/master v: v3
1 parent 8874550 commit dc2ec06

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3030
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3131
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32-
refs/heads/beta: b85c4d16d52c7f0a3fec5d4ce4d686f0a70fa512
32+
refs/heads/beta: c8bf5f5d9742ea94a8a024ff1d9776090718c61d
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3535
refs/heads/tmp: 9de34a84bb300bab1bf0227f577331620cd60511

branches/beta/src/test/run-pass/big-literals.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
#![deny(overflowing_literals)]
1717

1818
pub fn main() {
19-
assert_eq!(0xffffffff, (-1 as u32));
20-
assert_eq!(4294967295, (-1 as u32));
21-
assert_eq!(0xffffffffffffffff, (-1 as u64));
22-
assert_eq!(18446744073709551615, (-1 as u64));
19+
assert_eq!(0xffffffff, (!0 as u32));
20+
assert_eq!(4294967295, (!0 as u32));
21+
assert_eq!(0xffffffffffffffff, (!0 as u64));
22+
assert_eq!(18446744073709551615, (!0 as u64));
2323

2424
assert_eq!((-2147483648i32).wrapping_sub(1), 2147483647);
2525
}

branches/beta/src/test/run-pass/bitwise.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![feature(negate_unsigned)]
1112

1213
#[cfg(any(target_arch = "x86", target_arch = "arm"))]
1314
fn target() {

branches/beta/src/test/run-pass/intrinsics-integer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
// pretty-expanded FIXME #23616
1212

13+
#![feature(negate_unsigned)]
1314
#![feature(intrinsics)]
1415

1516
mod rusti {

branches/beta/src/test/run-pass/issue-17074.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
// pretty-expanded FIXME #23616
1212

13-
static X2: u64 = -1 as u16 as u64;
14-
static Y2: u64 = -1 as u32 as u64;
15-
const X: u64 = -1 as u16 as u64;
16-
const Y: u64 = -1 as u32 as u64;
13+
static X2: u64 = !0 as u16 as u64;
14+
static Y2: u64 = !0 as u32 as u64;
15+
const X: u64 = !0 as u16 as u64;
16+
const Y: u64 = !0 as u32 as u64;
1717

1818
fn main() {
1919
assert_eq!(match 1 {

0 commit comments

Comments
 (0)