test: More run-pass test fixes
This commit is contained in:
parent
7a065f2434
commit
6084032270
29 changed files with 47 additions and 45 deletions
|
@ -8,7 +8,7 @@ pub struct MyInt {
|
|||
}
|
||||
|
||||
pub impl MyInt : Add<MyInt, MyInt> {
|
||||
pure fn add(other: &MyInt) -> MyInt { mi(self.val + other.val) }
|
||||
pure fn add(&self, other: &MyInt) -> MyInt { mi(self.val + other.val) }
|
||||
}
|
||||
|
||||
pub impl MyInt : Sub<MyInt, MyInt> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue