Fix tests
This commit is contained in:
parent
6216822249
commit
11f4baeafb
4 changed files with 19 additions and 19 deletions
|
|
@ -12,8 +12,8 @@ struct NoCloneOrEq;
|
|||
|
||||
#[deriving(PartialEq)]
|
||||
struct E {
|
||||
x: NoCloneOrEq //~ ERROR does not implement any method in scope named `eq`
|
||||
//~^ ERROR does not implement any method in scope named `ne`
|
||||
x: NoCloneOrEq //~ ERROR binary operation `==` cannot be applied to type `NoCloneOrEq`
|
||||
//~^ ERROR binary operation `!=` cannot be applied to type `NoCloneOrEq`
|
||||
}
|
||||
#[deriving(Clone)]
|
||||
struct C {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue