librustc: Stop parsing impl Type : Trait
and fix several declarations that slipped through. r=tjc
This commit is contained in:
parent
566bcf2225
commit
bb833ca0f0
82 changed files with 327 additions and 424 deletions
|
@ -19,7 +19,7 @@ impl Eq for MyInt {
|
|||
pure fn ne(&self, other: &MyInt) -> bool { !self.eq(other) }
|
||||
}
|
||||
|
||||
impl MyInt : MyNum;
|
||||
impl MyNum for MyInt;
|
||||
|
||||
fn f<T:MyNum>(x: T, y: T) -> bool {
|
||||
return x == y;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue