about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-01-05 14:01:31 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-01-06 17:17:48 -0500
commit3ed7f067dc0319cd9e7bb6a8253ba031d0bdf1f3 (patch)
tree95808c5d926278d257b53b2f8ccb7acc4c45494e /src/libsyntax
parent6539cb417f4a7c2d9d1afce44c196578d2b67f38 (diff)
downloadrust-3ed7f067dc0319cd9e7bb6a8253ba031d0bdf1f3.tar.gz
rust-3ed7f067dc0319cd9e7bb6a8253ba031d0bdf1f3.zip
Fix fallout in libs. For the most part I just tagged impls as `#[old_impl_check]`.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 7aa7c4fcfb3..0054cb9509a 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -982,8 +982,8 @@ pub enum Sign {
     Plus
 }
 
-impl<T> Sign where T: Int {
-    pub fn new(n: T) -> Sign {
+impl Sign {
+    pub fn new<T:Int>(n: T) -> Sign {
         if n < Int::zero() {
             Minus
         } else {