about summary refs log tree commit diff
path: root/src/libcoretest
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2015-07-14 01:03:24 +0300
committerSimonas Kazlauskas <git@kazlauskas.me>2015-07-14 21:48:43 +0300
commit0c9e3dc75cf2b2d122af0596225594240ed254eb (patch)
tree3a4f127656a15b2a53ce80a86e51c1776ae649a6 /src/libcoretest
parent0fbcebaaec518a0a39f0b835cd52e9edfaba9cc2 (diff)
downloadrust-0c9e3dc75cf2b2d122af0596225594240ed254eb.tar.gz
rust-0c9e3dc75cf2b2d122af0596225594240ed254eb.zip
Fix negate_unsigned feature gate check
This commit fixes the negate_unsigned feature gate to appropriately
account for infered variables.

This is technically a [breaking-change].
Diffstat (limited to 'src/libcoretest')
-rw-r--r--src/libcoretest/fmt/num.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libcoretest/fmt/num.rs b/src/libcoretest/fmt/num.rs
index cab2175f897..247c3dcb9c7 100644
--- a/src/libcoretest/fmt/num.rs
+++ b/src/libcoretest/fmt/num.rs
@@ -7,8 +7,6 @@
 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
-#![allow(unsigned_negation)]
-
 use core::fmt::radix;
 
 #[test]