Skip to content

Commit d85ec4a

Browse files
committed
const stabilizations: adjust run-pass tests.
1 parent eb0597a commit d85ec4a

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/test/run-pass/const-int-rotate.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(const_int_rotate)]
2-
31
const LEFT: u32 = 0x10000b3u32.rotate_left(8);
42
const RIGHT: u32 = 0xb301u32.rotate_right(8);
53

src/test/run-pass/const-int-sign.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(const_int_sign)]
2-
31
const NEGATIVE_A: bool = (-10i32).is_negative();
42
const NEGATIVE_B: bool = 10i32.is_negative();
53
const POSITIVE_A: bool= (-10i32).is_positive();

src/test/run-pass/const-int-wrapping.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(const_int_wrapping)]
2-
31
const ADD_A: u32 = 200u32.wrapping_add(55);
42
const ADD_B: u32 = 200u32.wrapping_add(u32::max_value());
53

0 commit comments

Comments
 (0)