Skip to content

Commit 51bac24

Browse files
committed
---
yaml --- r: 196313 b: refs/heads/tmp c: c8bf5f5 h: refs/heads/master i: 196311: 439842c v: v3
1 parent 7edc04e commit 51bac24

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
@@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3232
refs/heads/beta: 9854143cba679834bc4ef932858cd5303f015a0e
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35-
refs/heads/tmp: b85c4d16d52c7f0a3fec5d4ce4d686f0a70fa512
35+
refs/heads/tmp: c8bf5f5d9742ea94a8a024ff1d9776090718c61d
3636
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: 53a183f0274316596bf9405944d4f0468d8c93e4
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/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/tmp/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/tmp/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/tmp/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)