diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-04-02 01:43:54 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-04-02 01:43:54 +0200 |
| commit | 07ff8ab8855b4d5ce0d547cfe3b1bf03e5f427eb (patch) | |
| tree | a6cf24bec594ca592264c732510bab0920823e2a | |
| parent | c8bf5f5d9742ea94a8a024ff1d9776090718c61d (diff) | |
| download | rust-07ff8ab8855b4d5ce0d547cfe3b1bf03e5f427eb.tar.gz rust-07ff8ab8855b4d5ce0d547cfe3b1bf03e5f427eb.zip | |
fixes for fallout in tests/compile-fail
| -rw-r--r-- | src/test/compile-fail/const-eval-overflow.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/enum-discrim-too-small.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/lint-exceeding-bitshifts.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/lint-type-limits.rs | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/test/compile-fail/const-eval-overflow.rs b/src/test/compile-fail/const-eval-overflow.rs index f647c43e137..fb8726f900d 100644 --- a/src/test/compile-fail/const-eval-overflow.rs +++ b/src/test/compile-fail/const-eval-overflow.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![feature(negate_unsigned)] + #![allow(unused_imports)] // Note: the relevant lint pass here runs before some of the constant diff --git a/src/test/compile-fail/enum-discrim-too-small.rs b/src/test/compile-fail/enum-discrim-too-small.rs index 1d7794336a0..cdf7d026d5e 100644 --- a/src/test/compile-fail/enum-discrim-too-small.rs +++ b/src/test/compile-fail/enum-discrim-too-small.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![feature(negate_unsigned)] + #[repr(u8)] //~ NOTE discriminant type specified here enum Eu8 { Au8 = 23, diff --git a/src/test/compile-fail/lint-exceeding-bitshifts.rs b/src/test/compile-fail/lint-exceeding-bitshifts.rs index 171dedd5b2e..1894064fd84 100644 --- a/src/test/compile-fail/lint-exceeding-bitshifts.rs +++ b/src/test/compile-fail/lint-exceeding-bitshifts.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![feature(negate_unsigned)] #![deny(exceeding_bitshifts)] #![allow(unused_variables)] #![allow(dead_code)] diff --git a/src/test/compile-fail/lint-type-limits.rs b/src/test/compile-fail/lint-type-limits.rs index f36c726c875..2ccfb5cd520 100644 --- a/src/test/compile-fail/lint-type-limits.rs +++ b/src/test/compile-fail/lint-type-limits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![feature(negate_unsigned)] #![allow(dead_code)] // compile-flags: -D unused-comparisons |
