Merge remote-tracking branch 'origin/master' into rollup
Conflicts: src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs
This commit is contained in:
commit
1f2ead1629
227 changed files with 383 additions and 365 deletions
|
@ -13,7 +13,7 @@ use std::ops::{Add, Sub, Mul};
|
|||
|
||||
trait MyNum : Add<Self,Self> + Sub<Self,Self> + Mul<Self,Self> + PartialEq + Clone { }
|
||||
|
||||
#[deriving(Clone, Show)]
|
||||
#[derive(Clone, Show)]
|
||||
struct MyInt { val: int }
|
||||
|
||||
impl Add<MyInt, MyInt> for MyInt {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue