stabilize const_int_sign
This commit is contained in:
parent
c1c674c2db
commit
056d925167
2 changed files with 2 additions and 3 deletions
|
|
@ -1,7 +1,5 @@
|
|||
// run-pass
|
||||
|
||||
#![feature(const_int_sign)]
|
||||
|
||||
const NEGATIVE_A: bool = (-10i32).is_negative();
|
||||
const NEGATIVE_B: bool = 10i32.is_negative();
|
||||
const POSITIVE_A: bool = (-10i32).is_positive();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue