Fix fallout in libs. For the most part I just tagged impls as #[old_impl_check].

This commit is contained in:
Niko Matsakis 2015-01-05 14:01:31 -05:00
parent 6539cb417f
commit 3ed7f067dc
11 changed files with 39 additions and 3 deletions

View file

@ -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 {