diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-01-05 14:01:31 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-01-06 17:17:48 -0500 |
| commit | 3ed7f067dc0319cd9e7bb6a8253ba031d0bdf1f3 (patch) | |
| tree | 95808c5d926278d257b53b2f8ccb7acc4c45494e /src/libsyntax | |
| parent | 6539cb417f4a7c2d9d1afce44c196578d2b67f38 (diff) | |
| download | rust-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.rs | 4 |
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 { |
